aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-export
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/kiss-export')
-rwxr-xr-xcontrib/kiss-export2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/kiss-export b/contrib/kiss-export
index 10dc3c1..82406aa 100755
--- a/contrib/kiss-export
+++ b/contrib/kiss-export
@@ -1,7 +1,7 @@
#!/bin/sh -ef
# Turn an installed package into a KISS tarball
-[ "$1" ] || { printf '\033[1;33m-> \033[m%s\n' "usage: ${0##*/} <pkg>" ; exit 0 ;}
+case "$1" in ''|--help|-h) printf '\033[1;33m-> \033[m%s\n' "usage: ${0##*/} <pkg>" ; exit 0 ; esac
kiss l "${1:-null}" >/dev/null