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-roadmap | |
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-roadmap')
-rwxr-xr-x | bin/ak-roadmap | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/ak-roadmap b/bin/ak-roadmap index 1bd6202..ce0dc29 100755 --- a/bin/ak-roadmap +++ b/bin/ak-roadmap @@ -21,11 +21,11 @@ search(){ if [ ! -z $1 ]; then - case $1 in - help) usage; exit;; - search) search; exit;; - *) usage; exit;; - esac + case $1 in + -h | --help) usage; exit;; + search) search; exit;; + *) usage; exit;; + esac else usage exit 0 |