Commit ef0b05c3 authored by Steve Bennett's avatar Steve Bennett
Browse files

core: Add Jim_RegisterCommand()



and wrappers Jim_RegisterCmd, Jim_RegisterSimpleCmd and Jim_RegisterSubCmd

Allows usage, help and flags when registering commands.
Allows for JIM_CMD_ISPROC, JIM_CMD_ISALIAS, JIM_CMD_ISCHANNEL
'info usage' and (later) 'info help'

Now every command doesn't need to check min/max and print usage.

Signed-off-by: default avatarSteve Bennett <steveb@workware.net.au>
parent f976e4e0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment