convert crypto names to lowercase

This commit is contained in:
Emile Clark-Boman 2026-01-21 17:02:20 +10:00
parent ec068cab7a
commit 40a8280d73
2 changed files with 4 additions and 2 deletions

View file

@ -62,7 +62,8 @@ while [[ $# -gt 0 ]]; do
;;
-t|--type)
shift
TYPE="$1"; shift
# NOTE: ${1,,} is $1 in lowercase
TYPE="${1,,}"; shift
;;
-r|--rounds)
shift

View file

@ -73,7 +73,8 @@ while [[ $# -gt 0 ]]; do
;;
-t|--type)
shift
TYPE="$1"; shift
# NOTE: ${1,,} is $1 in lowercase
TYPE="${1,,}"; shift
;;
-r|--rounds)
shift