summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authoreschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2012-10-23 20:21:21 +0000
committereschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2012-10-23 20:21:21 +0000
commitdb5c9b0b1c59082727cfd1f3c297941cc9ce58af (patch)
treed83af79972c9ce031d0f4a979060b4c8a9c4bd65 /src/main
parentcae50f1f5dc23495fe4568b3cdbe14ca147ff621 (diff)
List --exit-after-param-check in help text
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4885 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main')
-rw-r--r--src/main/CommandLine.c1
-rw-r--r--src/main/ProcessCommandLine.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/main/CommandLine.c b/src/main/CommandLine.c
index 01b2bd23..4aded14f 100644
--- a/src/main/CommandLine.c
+++ b/src/main/CommandLine.c
@@ -621,6 +621,7 @@ void CCTKi_CommandLineHelp (void)
" created by the '-r' option\n"
"-b, --buffering <no|line|full> : Set stdout buffering mode.\n"
"-S, --print-schedule : Print the schedule tree, then exit.\n"
+ "-P, --exit-after-param-check : Check the parameters, then exit.\n"
"-T, --list-thorns : Lists the compiled-in thorns.\n"
"-t, --test-thorn-compiled <name> : Tests for the presence of thorn <name>.\n"
" --parameter-level <level> : Sets the amount of parameter checking, \n"
diff --git a/src/main/ProcessCommandLine.c b/src/main/ProcessCommandLine.c
index ae95a071..2a392f30 100644
--- a/src/main/ProcessCommandLine.c
+++ b/src/main/ProcessCommandLine.c
@@ -131,7 +131,7 @@ int CCTKi_ProcessCommandLine(int *inargc, char ***inargv, tFleshConfig *ConfigDa
list_thorns_option = 'T',
test_thorns_compiled_option = 't',
version_option = 'v',
- exit_after_param_check_option = 'p',
+ exit_after_param_check_option = 'P',
ignore_next_option = 'i'
};
/* the longopts argument passed into getopt_long_only() */