aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-01-04 22:53:45 +0000
committermerakor <cem@ckyln.com>2021-01-04 22:53:45 +0000
commita031c332b91e5a84cdb319c7ba7a59478cbcda14 (patch)
treed84fc8828228c5121b79420ed6507956d8ab8d6b /src
parent0f38d55f4bf46cc43a1b237cdfe7a59f35a1661a (diff)
downloadcpt-a031c332b91e5a84cdb319c7ba7a59478cbcda14.tar.gz
cpt-alternatives: exit with success on usage
FossilOrigin-Name: ec9c5047e0bd1ef84104e66206db9a44e1b1e519f60519011c92b5c4e8e03657
Diffstat (limited to 'src')
-rwxr-xr-xsrc/cpt-alternatives2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpt-alternatives b/src/cpt-alternatives
index e516730..e21b6c9 100755
--- a/src/cpt-alternatives
+++ b/src/cpt-alternatives
@@ -13,7 +13,7 @@ esac
case "$1" in
--help|-h)
out "usage: ${0##*/} [-] [pkg file]"
- exit 1
+ exit 0
;;
--version|-v) version ;;
-)