summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 0e0478c..1a84d38 100644
--- a/src/main.c
+++ b/src/main.c
@@ -198,9 +198,12 @@ process_cmdline (int argc, char **argv)
break;
case 'h':
- default:
display_usage ();
exit (EX_OK);
+
+ default:
+ display_usage ();
+ exit (EX_USAGE);
}
}
}