diff options
author | Mohamed Ashiq Liyazudeen <mliyazud@redhat.com> | 2015-07-14 12:24:21 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2015-08-05 23:31:10 -0700 |
commit | 14515d103d1f7636c0af87c19202c48d4d6813f4 (patch) | |
tree | 167ea43706e3996509536091fdf4986d03851c0b /cli | |
parent | 2fd4ae628c7940ef5b505666afbf5eae0cc655b9 (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.
Backport of http://review.gluster.org/11657
Cherry picked from 746f23ce055f7beed20aa4038f61ad5bdd84419f
>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>
Change-Id: I8f58341a2b76369ccf62f88ca0ecd8a9a9529af6
BUG: 1247910
Signed-off-by: Mohamed Ashiq Liyazudeen <mliyazud@redhat.com>
Reviewed-on: http://review.gluster.org/11786
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'cli')
-rw-r--r-- | cli/src/cli-cmd-peer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/src/cli-cmd-peer.c b/cli/src/cli-cmd-peer.c index 551312411a0..94f059df623 100644 --- a/cli/src/cli-cmd-peer.c +++ b/cli/src/cli-cmd-peer.c @@ -246,11 +246,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>"}, |