summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli-cmd-peer.c2
-rw-r--r--cli/src/cli-cmd-volume.c2
-rw-r--r--cli/src/cli-cmd.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/cli/src/cli-cmd-peer.c b/cli/src/cli-cmd-peer.c
index fef29c164..d0c7639ad 100644
--- a/cli/src/cli-cmd-peer.c
+++ b/cli/src/cli-cmd-peer.c
@@ -188,7 +188,7 @@ struct cli_cmd cli_probe_cmds[] = {
cli_cmd_peer_status_cbk,
"list status of peers"},
- { "peer --help",
+ { "peer help",
cli_cmd_peer_help_cbk,
"Help command for peer "},
diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c
index 01fff9bf1..1eb7ec095 100644
--- a/cli/src/cli-cmd-volume.c
+++ b/cli/src/cli-cmd-volume.c
@@ -778,7 +778,7 @@ struct cli_cmd volume_cmds[] = {
cli_cmd_volume_set_cbk,
"set options for volume <VOLNAME>"},
- { "volume --help",
+ { "volume help",
cli_cmd_volume_help_cbk,
"display help for the volume command"},
diff --git a/cli/src/cli-cmd.c b/cli/src/cli-cmd.c
index 934936af9..011edacfe 100644
--- a/cli/src/cli-cmd.c
+++ b/cli/src/cli-cmd.c
@@ -95,7 +95,7 @@ cli_cmd_process (struct cli_state *state, int argc, char **argv)
return -1;
}
- if ( strcmp (word->word,"--help")==0 )
+ if ( strcmp (word->word,"help")==0 )
goto callback;
await_conn = cli_cmd_needs_connection (word);