Changed the name of the default state-help command 'info' to 'statehelp' to avoid clashing with the standard info channel.
This commit is contained in:
parent
df4ede7229
commit
3a40bf5241
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ class StateTable(object):
|
||||||
# both a custom help command and state auto-help; replace this too
|
# both a custom help command and state auto-help; replace this too
|
||||||
# to completely hide auto-help functionality in the state.
|
# to completely hide auto-help functionality in the state.
|
||||||
self.add_command(state_name, 'help', cmd_state_help)
|
self.add_command(state_name, 'help', cmd_state_help)
|
||||||
self.add_command(state_name, 'info', cmd_state_help)
|
self.add_command(state_name, 'statehelp', cmd_state_help)
|
||||||
|
|
||||||
if exit_command:
|
if exit_command:
|
||||||
#add the @exit command
|
#add the @exit command
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue