summaryrefslogtreecommitdiff
path: root/src/main/CommandLine.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/CommandLine.c')
-rw-r--r--src/main/CommandLine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/CommandLine.c b/src/main/CommandLine.c
index ab3591b5..6436f88c 100644
--- a/src/main/CommandLine.c
+++ b/src/main/CommandLine.c
@@ -610,9 +610,9 @@ static void CommandLinePrintParameter (const cParamData *properties)
}
printf ("\n");
printf ("Description: \"%s\"\n", properties->description);
- printf ("Type: %s\n", cctk_parameter_type_names[properties->type-1]);
+ printf ("Type: %s\n", cctk_parameter_type_names[properties->type-PARAMETER_FIRST]);
printf ("Default: %s\n", properties->defval);
- printf ("Scope: %s\n", cctk_parameter_scopes[properties->scope-1]);
+ printf ("Scope: %s\n", cctk_parameter_scopes[properties->scope-SCOPE_FIRST]);
for (range = properties->range; range; range = range->next)
{