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 | |
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')
-rwxr-xr-x | bin/ak-config | 12 | ||||
-rwxr-xr-x | bin/ak-zchain-rebase | 2 | ||||
-rwxr-xr-x | bin/ak-zchain-reset | 2 |
3 files changed, 8 insertions, 8 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 diff --git a/bin/ak-zchain-rebase b/bin/ak-zchain-rebase index f0687eb..b4522cf 100755 --- a/bin/ak-zchain-rebase +++ b/bin/ak-zchain-rebase @@ -42,7 +42,7 @@ rebase (){ _ak_ipfs_name_publish --key=zchain /ipfs/$(cat $AK_ZLATEST) if [ $? != 0 ]; then exit 1; fi - ak-config publish + ak-config --publish if [ "$?" -ne 0 ] then logit "ERROR" "Could not publish new configuration" diff --git a/bin/ak-zchain-reset b/bin/ak-zchain-reset index 4d9e099..24e670b 100755 --- a/bin/ak-zchain-reset +++ b/bin/ak-zchain-reset @@ -41,7 +41,7 @@ reset (){ _ak_ipfs_name_publish --key=zchain /ipfs/$(cat $ZLATEST) if [ $? != 0 ]; then exit 1; fi - ak-config publish + ak-config --publish if [ "$?" -ne 0 ] then logit "ERROR" "Could not publish new configuration" |