summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohamed Ashiq Liyazudeen <mliyazud@redhat.com>2015-07-14 12:24:21 +0530
committerAtin Mukherjee <amukherj@redhat.com>2015-07-28 01:41:21 -0700
commit746f23ce055f7beed20aa4038f61ad5bdd84419f (patch)
tree555a67004ab2e1f72c9e2f2bed2a529a6acc3801
parent65e6ab1bfbbec7755f7ae2294cb83334ac65a296 (diff)
cli : changing the gluster peer probe message
The gluster peer probe command with invalid ips dont report that IP's can also be a valid in usage. Change-Id: I8f58341a2b76369ccf62f88ca0ecd8a9a9529af6 BUG: 1242742 Signed-off-by: Mohamed Ashiq Liyazudeen <mliyazud@redhat.com> Reviewed-on: http://review.gluster.org/11657 Reviewed-by: Atin Mukherjee <amukherj@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org>
-rw-r--r--cli/src/cli-cmd-peer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/src/cli-cmd-peer.c b/cli/src/cli-cmd-peer.c
index 1fe84b3ebc3..0ca31028211 100644
--- a/cli/src/cli-cmd-peer.c
+++ b/cli/src/cli-cmd-peer.c
@@ -241,11 +241,11 @@ out:
}
struct cli_cmd cli_probe_cmds[] = {
- { "peer probe <HOSTNAME>",
+ { "peer probe { <HOSTNAME> | <IP-address> }",
cli_cmd_peer_probe_cbk,
"probe peer specified by <HOSTNAME>"},
- { "peer detach <HOSTNAME> [force]",
+ { "peer detach { <HOSTNAME> | <IP-address> } [force]",
cli_cmd_peer_deprobe_cbk,
"detach peer specified by <HOSTNAME>"},