diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/src/exiqgrep.src | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/exiqgrep.src b/src/src/exiqgrep.src index c8762df47..04602da68 100644 --- a/src/src/exiqgrep.src +++ b/src/src/exiqgrep.src @@ -53,7 +53,7 @@ if ($ARGV[0] eq '--version') { exit 0; } -getopts('hf:r:y:o:s:C:zxlibRcaG:',\%opt); +if (!getopts('hf:r:y:o:s:C:zxlibRcaG:',\%opt) { &help; exit;} if ($ARGV[0]) { &help; exit;} if ($opt{h}) { &help; exit;} if ($opt{a}) { $eargs = '-bp'; } |