aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gie.c b/src/gie.c
index 1d30c81e..3dd1ad2d 100644
--- a/src/gie.c
+++ b/src/gie.c
@@ -248,7 +248,7 @@ int main (int argc, char **argv) {
if (0==o)
return 0;
- if (opt_given (o, "h")) {
+ if (opt_given (o, "h") || argc==1) {
printf (usage, o->progname);
free (o);
return 0;