summaryrefslogtreecommitdiffstats
path: root/cmdline.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmdline.h')
-rw-r--r--cmdline.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/cmdline.h b/cmdline.h
index bb36a8d..e1811fd 100644
--- a/cmdline.h
+++ b/cmdline.h
@@ -47,24 +47,16 @@ enum debug_flags {
};
/**
- * A root path to explore.
- */
-struct root {
- /** The root path itself. */
- const char *path;
- /** The next path in the list. */
- struct root *next;
-};
-
-/**
* The parsed command line.
*/
struct cmdline {
/** The unparsed command line arguments. */
char **argv;
- /** The list of root paths. */
- struct root *roots;
+ /** The root paths. */
+ const char **paths;
+ /** The number of root paths. */
+ size_t npaths;
/** Color data. */
struct colors *colors;