diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2025-07-25 17:05:37 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2025-07-25 17:05:37 +0300 |
commit | 0f87a32bcf940873823fa7618f0fbb863a55f7f5 (patch) | |
tree | 2733e3068fce5d4f58243cfff4d46efc24da5e32 /bin/ak-pkg | |
parent | b5659a3603fa563b2c4eeb8490f10ffb18b4bced (diff) | |
download | arching-kaos-tools-0f87a32bcf940873823fa7618f0fbb863a55f7f5.tar.gz arching-kaos-tools-0f87a32bcf940873823fa7618f0fbb863a55f7f5.tar.bz2 arching-kaos-tools-0f87a32bcf940873823fa7618f0fbb863a55f7f5.zip |
[help] Help messages are printed in stdout when called but on stderr in case of error
Diffstat (limited to 'bin/ak-pkg')
-rwxr-xr-x | bin/ak-pkg | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -53,7 +53,8 @@ then --install-from-zblock) shift; _ak_pkg_install_from_zblock $1; exit;; --install-from-akfs) shift; _ak_pkg_install_from_akfsmap $1; exit;; --uninstall) _ak_pkg_uninstall; exit;; - * ) _ak_usage;; + * ) _ak_usage err;; esac -else _ak_usage +else + _ak_usage err fi |