summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-01-10 17:17:03 +0000
committerDavid Robillard <d@drobilla.net>2008-01-10 17:17:03 +0000
commit08867bea1dc73280c004c6d7cda14b3439a275ac (patch)
tree870516c9cba80cfcd47aa8378ff63f0bcba8b194 /utils
parent1eb22cb021127413173ae0e993cf55ea90b942d4 (diff)
downloadlilv-08867bea1dc73280c004c6d7cda14b3439a275ac.tar.gz
lilv-08867bea1dc73280c004c6d7cda14b3439a275ac.tar.bz2
lilv-08867bea1dc73280c004c6d7cda14b3439a275ac.zip
Fix lv2_inspect command line handling.
git-svn-id: http://svn.drobilla.net/lad/slv2@1047 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'utils')
-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;
}