diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-08-18 17:45:03 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-08-18 17:45:03 +0200 |
commit | 8df963da31c82d2f691da67272ff1091a269bede (patch) | |
tree | f8ea9e4ba51fd2719525a87a92b549a50560d0d1 /src/argparser.h | |
parent | implement colour settings for help in bash version (diff) | |
download | argparser-8df963da31c82d2f691da67272ff1091a269bede.tar.gz argparser-8df963da31c82d2f691da67272ff1091a269bede.tar.bz2 argparser-8df963da31c82d2f691da67272ff1091a269bede.tar.xz |
some c fixes
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/argparser.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/argparser.h b/src/argparser.h index a3df727..82fd3b2 100644 --- a/src/argparser.h +++ b/src/argparser.h @@ -170,7 +170,7 @@ long args_files_count; * @param usestderr Whether to use stderr instead of stdout * @param alternative Whether to use single dash/plus long options */ -extern void args_init(char* description, char* usage, char* longdscription, char* program, long usestderr, long alternative); +extern void args_init(char* description, char* usage, char* longdescription, char* program, long usestderr, long alternative); /** @@ -494,8 +494,10 @@ extern void args_support_alternatives(void); /** * Prints a colourful help message + * + * @param [use_colours] `-1` for no colours, `1` for colours, and `0` for if not piped */ -extern void args_help(void); +extern void args_help(); /** * Parse arguments |