diff options
author | midipix <writeonce@midipix.org> | 2016-01-01 02:49:49 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-01-01 22:50:26 -0500 |
commit | 5ec0ca7f8db2a0393e602dc9fcb92f437156432e (patch) | |
tree | f491f02532f35cf7b9545ba7a53aef82408bc097 /src/skin | |
parent | a1c3aaf4ec1ea176fa904c8ae2caa71cd8a5e0a4 (diff) | |
download | apimagic-5ec0ca7f8db2a0393e602dc9fcb92f437156432e.tar.bz2 apimagic-5ec0ca7f8db2a0393e602dc9fcb92f437156432e.tar.xz |
argv.h: add support for hybrid options (i.e. -std, -pipe).
Diffstat (limited to 'src/skin')
-rw-r--r-- | src/skin/amgc_skin_default.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/skin/amgc_skin_default.c b/src/skin/amgc_skin_default.c index a984982..4fdbbe9 100644 --- a/src/skin/amgc_skin_default.c +++ b/src/skin/amgc_skin_default.c @@ -11,13 +11,14 @@ "iso9899:2011" const struct argv_option amgc_default_options[] = { - {"version", 'v',TAG_VERSION,ARGV_OPTARG_NONE,0,0, + {"version", 'v',TAG_VERSION,ARGV_OPTARG_NONE,0,0,0, "show version information"}, - {"help", 'h',TAG_HELP,ARGV_OPTARG_OPTIONAL,"short|long",0, + {"help", 'h',TAG_HELP,ARGV_OPTARG_OPTIONAL,0,"short|long",0, "show usage information [listing %s options only]"}, - {"std", 'g',TAG_LANG_STD,ARGV_OPTARG_REQUIRED,AMGC_LANG_STD_PARADIGM,0, + {"std", '\0',TAG_LANG_STD,ARGV_OPTARG_REQUIRED, + ARGV_OPTION_HYBRID_EQUAL,AMGC_LANG_STD_PARADIGM,0, "set language standard"}, {0} |