diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-08-21 15:26:12 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-08-21 15:26:12 +0200 |
commit | 77679bcf7e25a5ca3ef58e0b4b51c1ea76449606 (patch) | |
tree | 2fa935c0031638e898d7ef18f75e916daf3d26c5 /src/argparser.h | |
parent | Half of the work for issue 4, c version (diff) | |
download | argparser-77679bcf7e25a5ca3ef58e0b4b51c1ea76449606.tar.gz argparser-77679bcf7e25a5ca3ef58e0b4b51c1ea76449606.tar.bz2 argparser-77679bcf7e25a5ca3ef58e0b4b51c1ea76449606.tar.xz |
issue 4, c version
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/argparser.h | 8 |
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 |