aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-fs
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2025-07-25 17:05:37 +0300
committerkaotisk <kaotisk@arching-kaos.org>2025-07-25 17:05:37 +0300
commit0f87a32bcf940873823fa7618f0fbb863a55f7f5 (patch)
tree2733e3068fce5d4f58243cfff4d46efc24da5e32 /bin/ak-fs
parentb5659a3603fa563b2c4eeb8490f10ffb18b4bced (diff)
downloadarching-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-fs')
-rwxr-xr-xbin/ak-fs4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ak-fs b/bin/ak-fs
index 1109539..f95a924 100755
--- a/bin/ak-fs
+++ b/bin/ak-fs
@@ -57,8 +57,8 @@ then
--gfm) _ak_fs_get_from_map_hash $2; exit;;
--rhd) _ak_fs_return_hash_dir $2; echo ;exit;;
--rhp) _ak_fs_return_hash_path $2; echo ; exit;;
- * ) _ak_usage;;
+ * ) _ak_usage err;;
esac
else
- _ak_usage
+ _ak_usage err
fi