aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-enter
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-03-27 03:45:56 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-03-27 03:45:56 +0200
commitabdfe0a5c2a86f19aafe12ae70663ddcf83a6e39 (patch)
treedce7bee8b783bfd12bdd5e691e1745ca4d0c12da /bin/ak-enter
parent5c08911132823735801aa70a4e2a23bc3f1c859a (diff)
downloadarching-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-xbin/ak-enter13
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