* Fixed cmd_add syntax. Correct format: name, level, short help, full help, callback.
* Added core command HELP.
This commit is contained in:
1 parent
e071cd1b8b
commit
3e83a47e12
4 files changed
+71
-1
No files matched your search
+1
-1
@@ -102,7 +102,7 @@ sub mod_void
|
||||
# Add a command to Auto.
|
||||
sub cmd_add
|
||||
{
|
||||
my ($cmd, $lvl, $fhelp, $shelp, $sub) = @_;
|
||||
my ($cmd, $lvl, $shelp, $fhelp, $sub) = @_;
|
||||
$cmd = uc($cmd);
|
||||
|
||||
return 0 if (defined $API::Std::CMDS{$cmd});
|
||||
|
||||
Reference in new issue
Block a user