diff options
Diffstat (limited to 'cli/src/cli-cmd-misc.c')
-rw-r--r-- | cli/src/cli-cmd-misc.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/cli/src/cli-cmd-misc.c b/cli/src/cli-cmd-misc.c index 306a7628f..7833456b7 100644 --- a/cli/src/cli-cmd-misc.c +++ b/cli/src/cli-cmd-misc.c @@ -61,8 +61,10 @@ cli_cmd_display_help (struct cli_state *state, struct cli_cmd_word *in_word, for (cmd = cli_probe_cmds; cmd->pattern; cmd++) cli_out ("%s - %s", cmd->pattern, cmd->desc); - for (cmd = cli_misc_cmds; cmd->pattern; cmd++) - cli_out ("%s - %s", cmd->pattern, cmd->desc); + for (cmd = cli_misc_cmds; cmd->pattern; cmd++) { + if (cmd->cbk) + cli_out ("%s - %s", cmd->pattern, cmd->desc); + } if (!state->rl_enabled) exit (0); @@ -79,6 +81,10 @@ struct cli_cmd cli_misc_cmds[] = { cli_cmd_display_help, "display command options"}, + { "mode script", + NULL, + "assign gluster execution mode"}, + { NULL, NULL, NULL } }; |