aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-sm-files
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-sm-files
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-sm-files')
-rwxr-xr-xbin/ak-sm-files6
1 files changed, 3 insertions, 3 deletions
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;;