1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include "ntux_driver_impl.h"
#include "argv/argv.h"
const struct argv_option ntux_bridge_options[] = {
{"version", 'v',TAG_VERSION,ARGV_OPTARG_NONE,0,0,0,
"show version information"},
{"help", 'h',TAG_HELP,ARGV_OPTARG_OPTIONAL,0,"short|long",0,
"show usage information [listing %s options only]"},
{"interp", 'i',TAG_INTERP,ARGV_OPTARG_REQUIRED,0,0,0,
"script interpreter to execute"},
{"script", 's',TAG_SCRIPT,ARGV_OPTARG_REQUIRED,0,0,0,
"script argument to be passed to interpreter"},
{"optarg", 's',TAG_OPTARG,ARGV_OPTARG_REQUIRED,0,0,0,
"optional argument to be passed to interpreter"},
{"logfile", 'o',TAG_LOGFILE,ARGV_OPTARG_REQUIRED,0,0,"<FILE>",
"write output to %s"},
{0,0,0,0,0,0,0,0}
};
|