summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/lv2_inspect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lv2_inspect.c b/utils/lv2_inspect.c
index 26d0092..34213f6 100644
--- a/utils/lv2_inspect.c
+++ b/utils/lv2_inspect.c
@@ -227,7 +227,7 @@ main(int argc, char** argv)
} else if (!strcmp(argv[1], "--help")) {
print_usage();
return 0;
- } else {
+ } else if (argv[1][0] == '-') {
print_usage();
return -1;
}