From abdfe0a5c2a86f19aafe12ae70663ddcf83a6e39 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 27 Mar 2024 03:45:56 +0200 Subject: Applying new architecture with lib system --- bin/ak-enter | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'bin/ak-enter') diff --git a/bin/ak-enter b/bin/ak-enter index a6f7a66..fd96231 100755 --- a/bin/ak-enter +++ b/bin/ak-enter @@ -18,11 +18,16 @@ # Logs messages to $LOGSFILE. PROGRAM="$(basename $0)" +descriptionString="Crawl an arching kaos chain" source $AK_LIBDIR/_ak_logit +source $AK_LIBDIR/_ak_script_description -usage(){ - echo "$PROGRAM - Crawl an arching kaos chain" - echo "-----------------------------------" +_ak_enter_title(){ + description +} + +_ak_enter_usage(){ + _ak_enter_title echo "$PROGRAM [-N | --no-verify] [-l | --limit ] [zblock]" echo "$PROGRAM [-N | --no-verify] [-l | --limit ] -n " echo "Usage:" @@ -63,7 +68,7 @@ fromIpns=0 while [ "$#" ]; do case "$1" in -h | --help) - usage + _ak_enter_usage ;; -l | --limit) limit=$2 -- cgit v1.2.3