diff options
Diffstat (limited to 'cmdline.h')
-rw-r--r-- | cmdline.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -101,13 +101,6 @@ struct cmdline { }; /** - * Optimize the parsed command line. - * - * @return 0 if successful, -1 on error. - */ -int optimize_cmdline(struct cmdline *cmdline); - -/** * Parse the command line. */ struct cmdline *parse_cmdline(int argc, char *argv[]); @@ -118,6 +111,13 @@ struct cmdline *parse_cmdline(int argc, char *argv[]); void dump_cmdline(const struct cmdline *cmdline, bool verbose); /** + * Optimize the parsed command line. + * + * @return 0 if successful, -1 on error. + */ +int optimize_cmdline(struct cmdline *cmdline); + +/** * Evaluate the command line. */ int eval_cmdline(const struct cmdline *cmdline); |