aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-template
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-template')
-rwxr-xr-xbin/ak-template10
1 files changed, 6 insertions, 4 deletions
diff --git a/bin/ak-template b/bin/ak-template
index 601a467..5a7653c 100755
--- a/bin/ak-template
+++ b/bin/ak-template
@@ -29,8 +29,9 @@ PROGRAM=$(basename $0)
descriptionString="Quick description"
# At least these
-source $AK_LIBDIR/_ak_log
-source $AK_LIBDIR/_ak_script
+source $AK_LIBDIR/_ak_lib_load
+_ak_lib_load _ak_log
+_ak_lib_load _ak_script
# Your stuff here...
example(){
@@ -43,7 +44,8 @@ then
case $1 in
-h | --help) _ak_usage; exit;;
--example) example; exit;;
- * ) _ak_usage;;
+ * ) _ak_usage err;;
esac
-else _ak_usage
+else
+ _ak_usage err
fi