aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-comments
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-03-01 19:30:33 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-03-01 19:30:33 +0200
commit3ca95b33f2dc650b384a96dc1d3aa3d8d18553d1 (patch)
tree83dcd8a473d78788e852bccfc3b187ab7b54e466 /bin/ak-comments
parentf8d2236e55e5c369b218017d1de1058d6a8ee361 (diff)
downloadarching-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-comments')
-rwxr-xr-xbin/ak-comments17
1 files changed, 8 insertions, 9 deletions
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 <file> <refer_to> Creates a data file from the comments file you point to"
- echo "create <refer_to> 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 <file> <refer_to> Creates a data file from the comments file you point to"
+ echo "create <refer_to> 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