diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-03-01 19:30:33 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-03-01 19:30:33 +0200 |
commit | 3ca95b33f2dc650b384a96dc1d3aa3d8d18553d1 (patch) | |
tree | 83dcd8a473d78788e852bccfc3b187ab7b54e466 /bin/ak-reference | |
parent | f8d2236e55e5c369b218017d1de1058d6a8ee361 (diff) | |
download | arching-kaos-tools-3ca95b33f2dc650b384a96dc1d3aa3d8d18553d1.tar.gz arching-kaos-tools-3ca95b33f2dc650b384a96dc1d3aa3d8d18553d1.tar.bz2 arching-kaos-tools-3ca95b33f2dc650b384a96dc1d3aa3d8d18553d1.zip |
Changes help subcommand to flag style -h, --help
Diffstat (limited to 'bin/ak-reference')
-rwxr-xr-x | bin/ak-reference | 4 |
1 files changed, 2 insertions, 2 deletions
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 <file> #TODO" echo "add <file> 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;; |