aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-owns
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/kiss-owns')
-rwxr-xr-xcontrib/kiss-owns2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/kiss-owns b/contrib/kiss-owns
index 8745ed6..e3512d6 100755
--- a/contrib/kiss-owns
+++ b/contrib/kiss-owns
@@ -1,7 +1,7 @@
#!/bin/sh -e
# Check which package owns a file
-[ "$1" ] || { printf '%s\n' "usage: kiss-owns <file>" ; exit 1 ;}
+case "$1" in ''|--help|-h) printf '%s\n' "usage: kiss-owns <file>" ; exit 0 ; esac
# Strip 'KISS_ROOT' from the file path if passed and
# follow symlinks.