From 3ca95b33f2dc650b384a96dc1d3aa3d8d18553d1 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Fri, 1 Mar 2024 19:30:33 +0200 Subject: Changes help subcommand to flag style -h, --help --- bin/ak-reference | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/ak-reference') diff --git a/bin/ak-reference b/bin/ak-reference index 4c70b11..5b58113 100755 --- a/bin/ak-reference +++ b/bin/ak-reference @@ -112,7 +112,7 @@ _ak_modules_reference_usage(){ _ak_modules_reference_title echo "#TODO" echo "All you need to know is that there are two options available:" - echo "help Prints this help message" + echo "-h, --help Prints this help message" echo "index Prints an indexed table of your references files" echo "import #TODO" echo "add Creates a data file from the references file you point to" @@ -123,7 +123,7 @@ _ak_modules_reference_usage(){ if [ ! -z $1 ]; then case $1 in - help) _ak_modules_reference_usage; exit;; + -h | --help) _ak_modules_reference_usage; exit;; index) _ak_modules_reference_index; exit;; import) _ak_modules_reference_import $2; exit;; add) _ak_modules_reference_add $2; exit;; -- cgit v1.2.3