diff options
| author | Pranith K <pranithk@gluster.com> | 2010-12-13 06:06:20 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2010-12-14 19:42:10 -0800 | 
| commit | 1637eabfd3e953a609cd5c82f58a7daa9d88b243 (patch) | |
| tree | cc89fb22c072d845a7927e244952ebf36866da7b /cli/src/cli.h | |
| parent | b754e531b48113596fddcd7d0b433ebcbf016c27 (diff) | |
cli: remove duplication of cmd help
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 2089 (Documentation bug in replace-brick options)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2089
Diffstat (limited to 'cli/src/cli.h')
| -rw-r--r-- | cli/src/cli.h | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h index 57be8c6f610..c0fb5a7e5a4 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  | 
