summaryrefslogtreecommitdiffstats
path: root/cmdline.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmdline.h')
-rw-r--r--cmdline.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/cmdline.h b/cmdline.h
index 7c1891c..e9731f9 100644
--- a/cmdline.h
+++ b/cmdline.h
@@ -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);