aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-01-04 22:55:19 +0000
committermerakor <cem@ckyln.com>2021-01-04 22:55:19 +0000
commit540c1ed5bbaa144fdb16a9daccb54eb319c263d4 (patch)
tree9966879eb0e508cc548fe982e58d2e1ba673a5b9
parent4a9bcddc97c66c8da507b3f72090662f3851a2fb (diff)
downloadcpt-540c1ed5bbaa144fdb16a9daccb54eb319c263d4.tar.gz
cpt-download: exit with success on usage
FossilOrigin-Name: aae19d6384369835236023c30bfb54d24e9bf4021ff8d6fa10dbed8611419229
-rwxr-xr-xsrc/cpt-download2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpt-download b/src/cpt-download
index f558b86..d2c9aeb 100755
--- a/src/cpt-download
+++ b/src/cpt-download
@@ -6,7 +6,7 @@ if [ -f ./cpt-lib ]; then . ./cpt-lib; else . cpt-lib; fi
case "$1" in
--help|-h)
out "usage: ${0##*/} [pkg...]"
- exit 1
+ exit 0
;;
--version|-v) version ;;
'') set -- "${PWD##*/}"; export CPT_PATH=${PWD%/*}:$CPT_PATH