aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-size
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/kiss-size')
-rwxr-xr-xcontrib/kiss-size2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/kiss-size b/contrib/kiss-size
index c5dc367..0a3e851 100755
--- a/contrib/kiss-size
+++ b/contrib/kiss-size
@@ -1,7 +1,7 @@
#!/bin/sh -ef
# Show the size on disk for a package
-[ "$1" ] || { printf '%s\n' "usage: kiss-size <pkg>" ; exit 1 ;}
+case "$1" in ''|--help|-h) printf '%s\n' "usage: kiss-size <pkg>" ; exit 0 ; esac
kiss s "$1" >/dev/null
# Filter directories from manifest and leave only files.