Removed descr from command props
This commit is contained in:
1 parent
809c04abfa
commit
c7b1a637c2
3 files changed
+2
-7
No files matched your search
+1
-1
@@ -30,7 +30,7 @@ $myShell->setPrompt("test>");
|
||||
$ctx = $myShell->createContext("root");
|
||||
$ctx->addCommand("hello", function () {
|
||||
echo "Hello World!\n";
|
||||
}, [ 'descr'=>'Say hello' ]);
|
||||
}, [ 'help'=>'Say hello' ]);
|
||||
|
||||
// Run the shell
|
||||
$myShell->run();
|
||||
Reference in new issue
Block a user