aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-schain
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-schain')
-rwxr-xr-xbin/ak-schain12
1 files changed, 7 insertions, 5 deletions
diff --git a/bin/ak-schain b/bin/ak-schain
index 2b5e80a..90b2cb0 100755
--- a/bin/ak-schain
+++ b/bin/ak-schain
@@ -32,9 +32,10 @@ fullprogrampath="$(realpath $0)"
PROGRAM=$(basename $0)
descriptionString="Schain tools"
-source $AK_LIBDIR/_ak_log
-source $AK_LIBDIR/_ak_script
-source $AK_LIBDIR/_ak_schain
+source $AK_LIBDIR/_ak_lib_load
+_ak_lib_load _ak_log
+_ak_lib_load _ak_script
+_ak_lib_load _ak_schain
# Flags to run
if [ ! -z $1 ]
@@ -43,7 +44,8 @@ then
-h | --help) _ak_usage; exit;;
-c | --crawl) shift; _ak_schain_crawl_interface $*; exit;;
-l | --get-latest) _ak_schain_get_latest; exit;;
- * ) _ak_usage;;
+ * ) _ak_usage err;;
esac
-else _ak_usage
+else
+ _ak_usage err
fi