aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ak-config12
-rwxr-xr-xbin/ak-zchain-rebase2
-rwxr-xr-xbin/ak-zchain-reset2
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"