Removed descr from command props

This commit is contained in:
noccy committed 2017-01-24 21:13:20 +01:00
1 parent 809c04abfa
commit c7b1a637c2
3 files changed
+2 -7

No files matched your search

+1 -1
View File
@@ -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();