aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-enter
diff options
context:
space:
mode:
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