diff options
Diffstat (limited to 'src/skin')
-rw-r--r-- | src/skin/amgc_skin_default.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/skin/amgc_skin_default.c b/src/skin/amgc_skin_default.c index 2151b30..865231e 100644 --- a/src/skin/amgc_skin_default.c +++ b/src/skin/amgc_skin_default.c @@ -1,6 +1,15 @@ #include "apimagic_driver_impl.h" #include "argv/argv.h" +#define AMGC_LANG_STD_PARADIGM "c++|c++98|c11|c1x|c89|c90|c99|c9x|" \ + "gnu++98|gnu11|gnu1x|" \ + "gnu89|gnu99|gnu9x|" \ + "iso9899:1990|" \ + "iso9899:199409|" \ + "iso9899:1999|" \ + "iso9899:199x|" \ + "iso9899:2011" + const struct argv_option amgc_default_options[] = { {"version", 'v',TAG_VERSION,ARGV_OPTARG_NONE,0,0, "show version information"}, @@ -8,5 +17,8 @@ const struct argv_option amgc_default_options[] = { {"help", 'h',TAG_HELP,ARGV_OPTARG_OPTIONAL,"short|long",0, "show usage information [listing %s options only]"}, + {"std", 'g',TAG_LANG_STD,ARGV_OPTARG_REQUIRED,AMGC_LANG_STD_PARADIGM,0, + "set language standard"}, + {0} }; |