From 0f87a32bcf940873823fa7618f0fbb863a55f7f5 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Fri, 25 Jul 2025 17:05:37 +0300 Subject: [help] Help messages are printed in stdout when called but on stderr in case of error --- bin/ak-fs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/ak-fs') 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 -- cgit v1.2.3