correct typos

This commit is contained in:
Denis Lehmann 2025-01-31 16:27:45 +01:00 committed by Denis Lehmann
parent 935fcbc9de
commit 6444f1291c
3 changed files with 4 additions and 4 deletions

View file

@ -211,7 +211,7 @@
fi
counter="$N" # Use parsed positional argument
echo -n "$sftbf" # Print everyting from here bold
echo -n "$sftbf" # Print everything from here bold
while [ "$counter" -gt 0 ]; do
if [ "$reverse" == true ]; then # Use parsed flag
echo " $counter"

View file

@ -28,7 +28,7 @@ if [ "$N" -gt 10 ]; then # Use parsed positional argument
fi
counter="$N" # Use parsed positional argument
echo -n "$sftbf" # Print everyting from here bold
echo -n "$sftbf" # Print everything from here bold
while [ "$counter" -gt 0 ]; do
if [ "$reverse" == true ]; then # Use parsed flag
echo " $counter"

4
sf
View file

@ -86,7 +86,7 @@ for a in "${sfargs[@]}"; do
# Read positional argument declaration
read -r -a _sfparsearr <<< "${a}"
# Add to positional argument arry
# Add to positional argument array
[[ " ${_sfpargs[*]} " =~ " ${_sfparsearr[0]} " ]] && _sferr "${sftbf}${_sfparsearr[0]}${sftrs} is already set: ${sftbf}${a}${sftrs}"
_sfpargs+=("${_sfparsearr[0]}")
@ -249,7 +249,7 @@ function _sfusage {
# Check for help flag
for a in "$@"; do
# Check if help flag ist set
# Check if help flag is set
[ "$a" == "-h" ] || [ "$a" == "--help" ] && _sfusage
done