diff options
author | Anand Avati <avati@gluster.com> | 2010-07-21 04:23:15 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-07-21 03:00:26 -0700 |
commit | 7ad75da5e8cb57336380f688650547275b939c3a (patch) | |
tree | 35eb77c9cccafb3929e96c04277875d25afc6214 /cli/src/cli-cmd-probe.c | |
parent | 066778ac7994bb574bd49281e8b225c3cd378f44 (diff) |
cli: fix consistent behaviour with newlines in cli_out()
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 971 (dynamic volume management)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'cli/src/cli-cmd-probe.c')
-rw-r--r-- | cli/src/cli-cmd-probe.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cli/src/cli-cmd-probe.c b/cli/src/cli-cmd-probe.c index 9f7a1da77..7d1c6eee7 100644 --- a/cli/src/cli-cmd-probe.c +++ b/cli/src/cli-cmd-probe.c @@ -40,19 +40,19 @@ extern rpc_clnt_prog_t *cli_rpc_prog; void cli_cmd_probe_usage () { - cli_out ("Usage: probe <hostname> [port]\n"); + cli_out ("Usage: probe <hostname> [port]"); } void cli_cmd_deprobe_usage () { - cli_out ("Usage: detach <hostname> [port]\n"); + cli_out ("Usage: detach <hostname> [port]"); } void cli_cmd_peer_status_usage () { - cli_out ("Usage: peer status <hostname> [port]\n"); + cli_out ("Usage: peer status <hostname> [port]"); } int @@ -95,7 +95,7 @@ cli_cmd_probe_cbk (struct cli_state *state, struct cli_cmd_word *word, out: if (ret) - cli_out ("Probe failed\n"); + cli_out ("Probe failed"); return ret; } @@ -138,7 +138,7 @@ cli_cmd_deprobe_cbk (struct cli_state *state, struct cli_cmd_word *word, out: if (ret) - cli_out ("Detach failed\n"); + cli_out ("Detach failed"); return ret; } @@ -168,7 +168,7 @@ cli_cmd_peer_status_cbk (struct cli_state *state, struct cli_cmd_word *word, out: if (ret) - cli_out ("Command Execution failed\n"); + cli_out ("Command Execution failed"); return ret; } |