|
|
383aa6 |
#include "apimagic_driver_impl.h"
|
|
|
383aa6 |
#include "argv/argv.h"
|
|
|
383aa6 |
|
|
|
fd0662 |
#define AMGC_LANG_STD_PARADIGM "c++|c++98|c11|c1x|c89|c90|c99|c9x|" \
|
|
|
fd0662 |
"gnu++98|gnu11|gnu1x|" \
|
|
|
fd0662 |
"gnu89|gnu99|gnu9x|" \
|
|
|
fd0662 |
"iso9899:1990|" \
|
|
|
fd0662 |
"iso9899:199409|" \
|
|
|
fd0662 |
"iso9899:1999|" \
|
|
|
fd0662 |
"iso9899:199x|" \
|
|
|
fd0662 |
"iso9899:2011"
|
|
|
fd0662 |
|
|
|
383aa6 |
const struct argv_option amgc_default_options[] = {
|
|
|
5ec0ca |
{"version", 'v',TAG_VERSION,ARGV_OPTARG_NONE,0,0,0,
|
|
|
f0e1b6 |
"show version information"},
|
|
|
383aa6 |
|
|
|
5ec0ca |
{"help", 'h',TAG_HELP,ARGV_OPTARG_OPTIONAL,0,"short|long",0,
|
|
|
f0e1b6 |
"show usage information [listing %s options only]"},
|
|
|
383aa6 |
|
|
|
6adb90 |
{"print-enums", 0,TAG_PRINT_ENUMS,ARGV_OPTARG_NONE,0,0,0,
|
|
|
6adb90 |
"output the translation unit's enums."},
|
|
|
6adb90 |
|
|
|
2e879c |
{"list-enums", 0,TAG_LIST_ENUMS,ARGV_OPTARG_NONE,0,0,0,
|
|
|
2e879c |
"output forward declarations for "
|
|
|
2e879c |
"the translation unit's enums."},
|
|
|
2e879c |
|
|
|
5ec0ca |
{"std", '\0',TAG_LANG_STD,ARGV_OPTARG_REQUIRED,
|
|
|
5ec0ca |
ARGV_OPTION_HYBRID_EQUAL,AMGC_LANG_STD_PARADIGM,0,
|
|
|
fd0662 |
"set language standard"},
|
|
|
fd0662 |
|
|
|
383aa6 |
{0}
|
|
|
383aa6 |
};
|