* Fixed cmd_add syntax. Correct format: name, level, short help, full help, callback.

* Added core command HELP.
This commit is contained in:
Elijah Perrault committed 2011-02-04 14:21:57 -07:00
1 parent e071cd1b8b
commit 3e83a47e12
4 files changed
+71 -1

No files matched your search

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