diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-02-27 02:14:19 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-02-27 02:14:19 +0200 |
commit | 94c6cd43413f266f0db898cfb3fc7a9833509ef8 (patch) | |
tree | 087f6f40d2e151ceed41dd03933317f35a014dfe /bin/ak-files | |
parent | f93ebfadb3e0d89e668784cd781ad33c62e01065 (diff) | |
download | arching-kaos-tools-94c6cd43413f266f0db898cfb3fc7a9833509ef8.tar.gz arching-kaos-tools-94c6cd43413f266f0db898cfb3fc7a9833509ef8.tar.bz2 arching-kaos-tools-94c6cd43413f266f0db898cfb3fc7a9833509ef8.zip |
Refactored function names
Diffstat (limited to 'bin/ak-files')
-rwxr-xr-x | bin/ak-files | 12 |
1 files changed, 6 insertions, 6 deletions
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 |