aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-cargolock-urlgen
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/kiss-cargolock-urlgen')
-rwxr-xr-xcontrib/kiss-cargolock-urlgen2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/kiss-cargolock-urlgen b/contrib/kiss-cargolock-urlgen
index 372834d..7d78a6a 100755
--- a/contrib/kiss-cargolock-urlgen
+++ b/contrib/kiss-cargolock-urlgen
@@ -3,7 +3,7 @@
case "$1" in
-) set -- /dev/stdin ;;
- '') printf '\033[1;33m-> \033[m%s\n' "usage: ${0##*/} <Cargo.lock file>" "" \
+ ''|--help|-h) printf '\033[1;33m-> \033[m%s\n' "usage: ${0##*/} <Cargo.lock file>" "" \
"'-' can be used to read from stdin." ; exit 0
esac