From 8552345acf6f850e2f0cb94437d6aca6f33d713f Mon Sep 17 00:00:00 2001 From: Denis Lehmann Date: Sat, 12 Mar 2022 23:23:54 +0100 Subject: [PATCH] update comments --- sf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sf b/sf index e0c79ff..d3572aa 100644 --- a/sf +++ b/sf @@ -74,10 +74,11 @@ declare -A _sfargs sfargs=("${sfargs[@]}" "help;h;Show this help message and exit") for a in "${sfargs[@]}"; do - # Get amount of ; + # Get amount of semicolons _sfsubst=${a//";"} _sfcount="$(((${#a} - ${#_sfsubst})))" + # Positional arguments if [ "$_sfcount" -eq 1 ]; then # Read positional argument declaration