Whamcloud - gitweb
LU-16392 utils: use --list-commands for bash completion
[fs/lustre-release.git] / libcfs / include / libcfs / util / parser.h
index 9ac17c4..7919071 100644 (file)
@@ -75,9 +75,8 @@ void Parser_ignore_errors(int ignore);        /* Set the ignore errors flag */
 void Parser_printhelp(char *);         /* Detailed help routine */
 void Parser_exit(int, char **);                /* Shuts down command parser */
 int Parser_execarg(int argc, char **argv, command_t cmds[]);
-int Parser_list_commands(const command_t *cmdlist, char *buffer,
-                        size_t buf_size, const char *parent_cmd,
-                        int col_start, int col_num);
+int Parser_list_commands(const command_t *cmdlist, int line_len,
+                        int col_num);
 
 /* Converts a string to an integer */
 int Parser_int(char *, int *);