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-sm-files | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/ak-sm-files') diff --git a/bin/ak-sm-files b/bin/ak-sm-files index 4265617..14a3a05 100755 --- a/bin/ak-sm-files +++ b/bin/ak-sm-files @@ -145,9 +145,9 @@ full-index(){ } if [ ! -z $1 ]; then - case $1 in - help) usage; exit;; - add) add $2; exit;; + case $1 in + -h | --help) usage; exit;; + add) add $2; exit;; index) index; exit;; full-index) full-index; exit;; ls-map-files) ls-mapfiles; exit;; -- cgit v1.2.3