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-roadmap | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bin/ak-roadmap') 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 -- cgit v1.2.3