summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/src/exiqgrep.src1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/src/exiqgrep.src b/src/src/exiqgrep.src
index afecbffee..2c52f137f 100644
--- a/src/src/exiqgrep.src
+++ b/src/src/exiqgrep.src
@@ -44,6 +44,7 @@ if ($^O eq 'darwin') { # aka MacOS X
};
getopts('hf:r:y:o:s:C:zxlibRca',\%opt);
+if ($ARGV[0]) { &help; exit;}
if ($opt{h}) { &help; exit;}
if ($opt{a}) { $eargs = '-bp'; }
if ($opt{C} && -e $opt{C} && -f $opt{C} && -R $opt{C}) { $eargs .= ' -C '.$opt{C}; }