convert crypto names to lowercase

This commit is contained in:
do butterflies cry? 2026-01-21 17:02:20 +10:00
parent fbdf824475
commit 37afb36c97
2 changed files with 4 additions and 2 deletions

View file

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

View file

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