diff options
Diffstat (limited to 'eperd/eperd.c')
-rw-r--r-- | eperd/eperd.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/eperd/eperd.c b/eperd/eperd.c index 2ccaa6a..49c5884 100644 --- a/eperd/eperd.c +++ b/eperd/eperd.c @@ -262,9 +262,10 @@ int eperd_main(int argc UNUSED_PARAM, char **argv) /* "-b after -f is ignored", and so on for every pair a-b */ opt_complementary = "f-b:b-f:S-L:L-S" USE_FEATURE_PERD_D(":d-l") - ":l+:d+"; /* -l and -d have numeric param */ - opt = getopt32(argv, "l:L:fbSc:A:DP:" USE_FEATURE_PERD_D("d:") "O:", - &LogLevel, &LogFile, &CDir, &atlas_id, &PidFileName + "i:+:l+:d+"; /* -i, -l and -d have numeric param */ + opt = getopt32(argv, "i:l:L:fbSc:A:DP:" USE_FEATURE_PERD_D("d:") "O:", + &instance_id, &LogLevel, &LogFile, &CDir, + &atlas_id, &PidFileName USE_FEATURE_PERD_D(,&LogLevel), &out_filename); /* both -d N and -l N set the same variable: LogLevel */ |