From 94c6cd43413f266f0db898cfb3fc7a9833509ef8 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 27 Feb 2024 02:14:19 +0200 Subject: Refactored function names --- bin/ak-files | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bin/ak-files') diff --git a/bin/ak-files b/bin/ak-files index 6e36b51..2946856 100755 --- a/bin/ak-files +++ b/bin/ak-files @@ -21,11 +21,11 @@ else logit "[INFO]" "$ZFILESDIR found!" fi -usage(){ +_ak_modules_files_usage(){ echo "$PROGRAM - file" } -add(){ +_ak_modules_files_add(){ CRP="$(pwd)" FILENAME="$1" main $FILENAME $CRP @@ -103,9 +103,9 @@ echo "Publishing..." if [ ! -z $1 ]; then case $1 in - help) usage; exit;; - add) add $2; exit;; - *) usage; exit;; + help) _ak_modules_files_usage; exit;; + add) _ak_modules_files_add $2; exit;; + *) _ak_modules_files_usage; exit;; esac -else usage +else _ak_modules_files_usage fi -- cgit v1.2.3