Removed descr from command props

This commit is contained in:
2017-01-24 21:13:20 +01:00
parent 809c04abfa
commit c7b1a637c2
3 changed files with 2 additions and 7 deletions

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();