aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-01-04 22:54:56 +0000
committermerakor <cem@ckyln.com>2021-01-04 22:54:56 +0000
commit4a9bcddc97c66c8da507b3f72090662f3851a2fb (patch)
tree7024b6e166bef6ec3b958bbe5764ebf259951af3
parenta031c332b91e5a84cdb319c7ba7a59478cbcda14 (diff)
downloadcpt-4a9bcddc97c66c8da507b3f72090662f3851a2fb.tar.gz
cpt-checksum: exit with success on usage
FossilOrigin-Name: 81b5d4e8c446aa4e4df789882bb5900d9636f4e5f6e9206e01ed42dfce946ad0
-rwxr-xr-xsrc/cpt-checksum2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpt-checksum b/src/cpt-checksum
index cd1fa4e..5c6de52 100755
--- a/src/cpt-checksum
+++ b/src/cpt-checksum
@@ -4,7 +4,7 @@
if [ -f ./cpt-lib ]; then . ./cpt-lib; else . cpt-lib; fi
case "$1" in
- --help|-h) out "usage: ${0##*/} [pkg...]"; exit 1 ;;
+ --help|-h) out "usage: ${0##*/} [pkg...]"; exit 0 ;;
--version|-v) version ;;
'') set -- "${PWD##*/}"; export CPT_PATH=${PWD%/*}:$CPT_PATH ;;
esac