diff options
author | jthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2006-06-01 12:38:11 +0000 |
---|---|---|
committer | jthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2006-06-01 12:38:11 +0000 |
commit | df8ef497d230fddd1895402549bfaa7b1a2c3244 (patch) | |
tree | 695a05c9e92243ed69fbdd6d6b1a802ffd4eecb0 /src/main/CommandLine.c | |
parent | c5a2f88d8f19db00bfcc20a2c850b3502fe76658 (diff) |
apply patch
http://www.cactuscode.org/old/pipermail/patches/2006-May/000180.html
This documents the 5 (!) separate places in the code which must be changed
to add a new command-line option. See also the discussion in
http://www.cactuscode.org/mailman/private/cactusmaint/2006-May/021429.html
http://www.cactuscode.org/mailman/private/cactusmaint/2006-May/021430.html
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4310 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/CommandLine.c')
-rw-r--r-- | src/main/CommandLine.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/CommandLine.c b/src/main/CommandLine.c index 93984ab6..4451949c 100644 --- a/src/main/CommandLine.c +++ b/src/main/CommandLine.c @@ -61,6 +61,11 @@ int cctki_onlyprintschedule = 0; /******************************************************************** ********************* Defines ********************** ********************************************************************/ + +/* + * See comments in CCTKi_ProcessCommandLine() for a list of all the + * places you have to update if you add a new command-line option. + */ #define CACTUS_COMMANDLINE_OPTIONS \ "[-h] [-O] [-o paramname] [-L n] [-W n] [-E n] [-r[o|e|oe|eo]] " \ "[-S] [-T] [-t name] [-parameter-level <level>] [-v] " \ @@ -538,6 +543,11 @@ void CCTKi_CommandLineVersion(void) void CCTKi_CommandLineHelp (void) { char **argv; + + /* + * See comments in CCTKi_ProcessCommandLine() for a list of all the + * places you have to update if you add a new command-line option. + */ const char *commandline_options_description = "-h, -help : gets this help.\n" "-O[v], -describe-all-parameters : describes all the parameters.\n" |