From c68dffa6c42334cfa939fb21a5430a35abff08c0 Mon Sep 17 00:00:00 2001 From: merakor Date: Wed, 13 May 2020 19:51:21 +0000 Subject: contrib: use --help and -h for usage information FossilOrigin-Name: 43f55b077d3feb3e4bc42d72a58cadedbe7f387cedf01d2e59308c35f6afb484 --- contrib/kiss-owns | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/kiss-owns') 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 " ; exit 1 ;} +case "$1" in ''|--help|-h) printf '%s\n' "usage: kiss-owns " ; exit 0 ; esac # Strip 'KISS_ROOT' from the file path if passed and # follow symlinks. -- cgit v1.2.3