exit with 0 instead of 1 after printing usage

This commit is contained in:
NRK
2021-05-02 00:02:05 +06:00
parent f9f11699b6
commit 776ac02ed2

2
sxbm
View File

@ -188,7 +188,7 @@ case "$1" in
"edit") "edit")
;; ;;
"-h"|"--help") "-h"|"--help")
usage && die usage && exit 0
;; ;;
"-v"|"--version") "-v"|"--version")
;; ;;