diff options
author | merakor <cem@ckyln.com> | 2021-01-04 22:54:56 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2021-01-04 22:54:56 +0000 |
commit | 4a9bcddc97c66c8da507b3f72090662f3851a2fb (patch) | |
tree | 7024b6e166bef6ec3b958bbe5764ebf259951af3 /src/cpt-checksum | |
parent | a031c332b91e5a84cdb319c7ba7a59478cbcda14 (diff) | |
download | cpt-4a9bcddc97c66c8da507b3f72090662f3851a2fb.tar.gz |
cpt-checksum: exit with success on usage
FossilOrigin-Name: 81b5d4e8c446aa4e4df789882bb5900d9636f4e5f6e9206e01ed42dfce946ad0
Diffstat (limited to 'src/cpt-checksum')
-rwxr-xr-x | src/cpt-checksum | 2 |
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 |