Commit 3d1fe678 authored by wanjilong's avatar wanjilong

add: usage

parent 1846bcd9
...@@ -27,7 +27,7 @@ class DaemonController extends Cli ...@@ -27,7 +27,7 @@ class DaemonController extends Cli
if(empty($task_name)){ if(empty($task_name)){
echo <<<EOD echo <<<EOD
usage: php cli.php daemon run "t=Wallet&n=2&j=sync_wallet" usage: php cli.php Wallet 2 sync_wallet
t daemo 脚本类名 t daemo 脚本类名
n 进程数 n 进程数
j 进程别名,默认同脚本类名 j 进程别名,默认同脚本类名
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment