summaryrefslogtreecommitdiffhomepage
path: root/src/skin
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-01-01 02:49:49 -0500
committermidipix <writeonce@midipix.org>2016-01-01 22:50:26 -0500
commit5ec0ca7f8db2a0393e602dc9fcb92f437156432e (patch)
treef491f02532f35cf7b9545ba7a53aef82408bc097 /src/skin
parenta1c3aaf4ec1ea176fa904c8ae2caa71cd8a5e0a4 (diff)
downloadapimagic-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.c7
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}