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-comments | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'bin/ak-comments') diff --git a/bin/ak-comments b/bin/ak-comments index d4a73de..3543d99 100755 --- a/bin/ak-comments +++ b/bin/ak-comments @@ -79,15 +79,14 @@ _ak_modules_comments_add(){ fi } _ak_modules_comments_usage(){ - _ak_modules_comments_title - echo "All you need to know is that there are two options available:" - echo "" - echo "help Prints this help message" - echo "index Prints an indexed table of your comments files" - echo "add Creates a data file from the comments file you point to" - echo "create Vim is going to pop up, you will write and save your" - echo " commentsletter and it's going to be saved" - exit 0 + _ak_modules_comments_title + echo "" + echo "-h, --help Prints this help message" + echo "index Prints an indexed table of your comments files" + echo "add Creates a data file from the comments file you point to" + echo "create Vim is going to pop up, you will write and save your" + echo " commentsletter and it's going to be saved" + exit 0 } if [ ! -z $1 ]; then -- cgit v1.2.3