diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-03-27 03:45:56 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-03-27 03:45:56 +0200 |
commit | abdfe0a5c2a86f19aafe12ae70663ddcf83a6e39 (patch) | |
tree | dce7bee8b783bfd12bdd5e691e1745ca4d0c12da /bin/ak-enter | |
parent | 5c08911132823735801aa70a4e2a23bc3f1c859a (diff) | |
download | arching-kaos-tools-abdfe0a5c2a86f19aafe12ae70663ddcf83a6e39.tar.gz arching-kaos-tools-abdfe0a5c2a86f19aafe12ae70663ddcf83a6e39.tar.bz2 arching-kaos-tools-abdfe0a5c2a86f19aafe12ae70663ddcf83a6e39.zip |
Applying new architecture with lib system
Diffstat (limited to 'bin/ak-enter')
-rwxr-xr-x | bin/ak-enter | 13 |
1 files changed, 9 insertions, 4 deletions
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 <number>] [zblock]" echo "$PROGRAM [-N | --no-verify] [-l | --limit <number>] -n <zchain>" echo "Usage:" @@ -63,7 +68,7 @@ fromIpns=0 while [ "$#" ]; do case "$1" in -h | --help) - usage + _ak_enter_usage ;; -l | --limit) limit=$2 |