summaryrefslogtreecommitdiffstats
path: root/ctx.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-03-26 19:42:55 -0400
committerTavian Barnes <tavianator@tavianator.com>2022-03-27 12:53:15 -0400
commit4846e61080c575a67ebe9805a2332d8dd2b90555 (patch)
treec76a7408dd534f5dd12a087687c739bd9f2a50bd /ctx.h
parentc2139e2e03cbcee9a1ae03956b1f06d3a9c269b0 (diff)
downloadbfs-4846e61080c575a67ebe9805a2332d8dd2b90555.tar.xz
diag: New functions for highlighting command line arguments
Diffstat (limited to 'ctx.h')
-rw-r--r--ctx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctx.h b/ctx.h
index 5d0daba..3ad7f85 100644
--- a/ctx.h
+++ b/ctx.h
@@ -57,8 +57,11 @@ const char *debug_flag_name(enum debug_flags flag);
* The execution context for bfs.
*/
struct bfs_ctx {
+ /** The number of command line arguments. */
+ size_t argc;
/** The unparsed command line arguments. */
char **argv;
+
/** The root paths. */
const char **paths;
/** The main command line expression. */