cleanup getopt_long() options

This commit is contained in:
rlar 2013-10-28 20:34:39 +01:00
parent e2bc7b4d89
commit 6d371c9532
1 changed files with 13 additions and 13 deletions

View File

@ -861,19 +861,19 @@ main(int argc, char **argv)
for(;;) {
static struct option long_options[] = {
{"help", 0, 0, 'h'},
{"version", 0, 0, 'v'},
{"batch", 0, 0, 'b'},
{"autorun", 0, 0, 'a'},
{"circuitfile", 1, 0, 'c'},
{"interactive", 0, 0, 'i'},
{"no-spiceinit", 0, 0, 'n'},
{"output", 1, 0, 'o'},
{"pipe", 0, 0, 'p'},
{"completion", 0, 0, 'q'},
{"rawfile", 1, 0, 'r'},
{"server", 0, 0, 's'},
{"terminal", 1, 0, 't'},
{"help", no_argument, 0, 'h'},
{"version", no_argument, 0, 'v'},
{"batch", no_argument, 0, 'b'},
{"autorun", no_argument, 0, 'a'},
{"circuitfile", required_argument, 0, 'c'},
{"interactive", no_argument, 0, 'i'},
{"no-spiceinit", no_argument, 0, 'n'},
{"output", required_argument, 0, 'o'},
{"pipe", no_argument, 0, 'p'},
{"completion", no_argument, 0, 'q'},
{"rawfile", required_argument, 0, 'r'},
{"server", no_argument, 0, 's'},
{"terminal", required_argument, 0, 't'},
{0, 0, 0, 0}
};