diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-05-20 07:21:29 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-05-20 07:21:29 +0300 |
commit | 00573eff1569a984000dfafe8f9ccf9bcad971dd (patch) | |
tree | eade94d49dabd1b5e535234981f11e3dca1618a6 /bin/ak-config | |
parent | f8e99709712c62bf9ecd125b4bd747acdced165a (diff) | |
download | arching-kaos-tools-00573eff1569a984000dfafe8f9ccf9bcad971dd.tar.gz arching-kaos-tools-00573eff1569a984000dfafe8f9ccf9bcad971dd.tar.bz2 arching-kaos-tools-00573eff1569a984000dfafe8f9ccf9bcad971dd.zip |
turned ak config options to flags
Diffstat (limited to 'bin/ak-config')
-rwxr-xr-x | bin/ak-config | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/ak-config b/bin/ak-config index 49c6217..eb8a836 100755 --- a/bin/ak-config +++ b/bin/ak-config @@ -4,11 +4,11 @@ ## ## -h, --help Show this help screen ## -## show Show current configuration (from FileSystem) +## --show Show current configuration (from FileSystem) ## -## publish Publish current configuration +## --publish Publish current configuration ## -## get-published Get published ak-config (from IPFS) +## --get-published Get published ak-config (from IPFS) ## fullprogrampath="$(realpath $0)" PROGRAM="$(basename $0)" @@ -59,9 +59,9 @@ _ak_config_published(){ if [ ! -z $1 ]; then case $1 in --help| -h) _ak_usage;exit;; - show) _ak_config_show;exit;; - publish) _ak_config_publish;exit;; - get-published) _ak_config_published;exit;; + --show) _ak_config_show;exit;; + --publish) _ak_config_publish;exit;; + --get-published) _ak_config_published;exit;; *) _ak_usage;exit;; esac else |