aboutsummaryrefslogtreecommitdiffstats
path: root/src/argparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/argparser.h')
-rw-r--r--src/argparser.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/argparser.h b/src/argparser.h
index 41040ad..32e2dd5 100644
--- a/src/argparser.h
+++ b/src/argparser.h
@@ -297,6 +297,14 @@ extern char* args_options_get_argument(long index);
extern char* args_options_get_standard(long index);
/**
+ * Trigger an option
+ *
+ * @param name The option's alternative name
+ * @param value The use value, `null` if argumentless or variadic
+ */
+void args_optmap_trigger(char* name, char* value);
+
+/**
* Gets the help text for a option with a specific index
*
* @param index The option's index