From 00573eff1569a984000dfafe8f9ccf9bcad971dd Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 20 May 2024 07:21:29 +0300 Subject: turned ak config options to flags --- bin/ak-config | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bin/ak-config') 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 -- cgit v1.2.3