diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-11-24 20:50:59 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-11-24 20:50:59 +0000 |
commit | d475e8040a76eb7776eb5ed8f3f3edc0f417f6c7 (patch) | |
tree | e377c6a035918a2ef81c2655946a11b27513e253 /src/main/ProcessCommandLine.c | |
parent | 1de5cce82d9fac333fba971bd5c19547c4d22abe (diff) |
Removed tabs from files.
Added @version lines to various header files.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1170 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/ProcessCommandLine.c')
-rw-r--r-- | src/main/ProcessCommandLine.c | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/src/main/ProcessCommandLine.c b/src/main/ProcessCommandLine.c index 05f2f9f5..347302f9 100644 --- a/src/main/ProcessCommandLine.c +++ b/src/main/ProcessCommandLine.c @@ -53,40 +53,40 @@ int ProcessCommandLine(int *inargc, char ***inargv, tFleshConfig *ConfigData) { struct option long_options[] = { - {"help", no_argument, NULL, 'h'}, - {"describe-all-parameters", optional_argument, NULL, 'O'}, - {"describe-parameter", required_argument, NULL, 'o'}, - {"test-parameters", optional_argument, NULL, 'x'}, - {"warning-level", required_argument, NULL, 'W'}, - {"error-level", required_argument, NULL, 'E'}, - {"redirect-stdout", no_argument, NULL, 'r'}, - {"list-thorns", no_argument, NULL, 'T'}, - {"test-thorn-compiled", required_argument, NULL, 't'}, - {"version", no_argument, NULL, 'v'}, - {0, 0, 0, 0} + {"help", no_argument, NULL, 'h'}, + {"describe-all-parameters", optional_argument, NULL, 'O'}, + {"describe-parameter", required_argument, NULL, 'o'}, + {"test-parameters", optional_argument, NULL, 'x'}, + {"warning-level", required_argument, NULL, 'W'}, + {"error-level", required_argument, NULL, 'E'}, + {"redirect-stdout", no_argument, NULL, 'r'}, + {"list-thorns", no_argument, NULL, 'T'}, + {"test-thorn-compiled", required_argument, NULL, 't'}, + {"version", no_argument, NULL, 'v'}, + {0, 0, 0, 0} }; c = getopt_long_only (argc, argv, "hO::o:x::W:E:rTt:v", - long_options, &option_index); + long_options, &option_index); if (c == -1) - break; + break; switch (c) { - case 't': CCTKi_CommandLineTestThornCompiled(optarg); break; - case 'O': CCTKi_CommandLineDescribeAllParameters(optarg); break; - case 'o': CCTKi_CommandLineDescribeParameter(optarg); break; - case 'x': CCTKi_CommandLineTestParameters(optarg); break; - case 'W': CCTKi_CommandLineWarningLevel(optarg); break; - case 'E': CCTKi_CommandLineErrorLevel(optarg); break; - case 'r': CCTKi_CommandLineRedirectStdout(); break; - case 'T': CCTKi_CommandLineListThorns(); break; - case 'v': CCTKi_CommandLineVersion(); break; - case 'h': - case '?': - CCTKi_CommandLineHelp(); break; - default: - printf ("?? getopt returned character code 0%o ??\n", c); + case 't': CCTKi_CommandLineTestThornCompiled(optarg); break; + case 'O': CCTKi_CommandLineDescribeAllParameters(optarg); break; + case 'o': CCTKi_CommandLineDescribeParameter(optarg); break; + case 'x': CCTKi_CommandLineTestParameters(optarg); break; + case 'W': CCTKi_CommandLineWarningLevel(optarg); break; + case 'E': CCTKi_CommandLineErrorLevel(optarg); break; + case 'r': CCTKi_CommandLineRedirectStdout(); break; + case 'T': CCTKi_CommandLineListThorns(); break; + case 'v': CCTKi_CommandLineVersion(); break; + case 'h': + case '?': + CCTKi_CommandLineHelp(); break; + default: + printf ("?? getopt returned character code 0%o ??\n", c); } } |