convert crypto names to lowercase
This commit is contained in:
parent
fbdf824475
commit
37afb36c97
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue