From 1637eabfd3e953a609cd5c82f58a7daa9d88b243 Mon Sep 17 00:00:00 2001 From: Pranith K Date: Mon, 13 Dec 2010 06:06:20 +0000 Subject: cli: remove duplication of cmd help Signed-off-by: Pranith Kumar K Signed-off-by: Anand V. Avati BUG: 2089 (Documentation bug in replace-brick options) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2089 --- cli/src/cli.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cli/src/cli.h') diff --git a/cli/src/cli.h b/cli/src/cli.h index 57be8c6f..c0fb5a7e 100644 --- a/cli/src/cli.h +++ b/cli/src/cli.h @@ -60,7 +60,7 @@ struct cli_cmd_word { cli_cmd_match_t *match; cli_cmd_cbk_t *cbkfn; const char *desc; - + const char *pattern; int nextwords_cnt; struct cli_cmd_word **nextwords; }; @@ -158,6 +158,7 @@ int cli_cmd_process_line (struct cli_state *state, const char *line); int cli_rl_enable (struct cli_state *state); int cli_rl_out (struct cli_state *state, const char *fmt, va_list ap); +int cli_usage_out (const char *usage); int cli_out (const char *fmt, ...); int -- cgit