update comments

This commit is contained in:
Denis Lehmann 2022-03-12 23:23:54 +01:00
parent 8091e51d19
commit 8552345acf

3
sf
View file

@ -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