diff --git a/wordle b/wordle index b746017..77d047c 100755 --- a/wordle +++ b/wordle @@ -71,7 +71,7 @@ function set_options() { declare -g DELAY=0.5 declare -g KEYBOARD=1 - while getopts "bw:HSdh" OPT; do + while getopts "bw:HSkdh" OPT; do case "${OPT}" in b) BORDER=0 @@ -91,6 +91,9 @@ function set_options() { HARD_MODE=1 STRICT_HARD_MODE=1 ;; + k) + KEYBOARD=0 + ;; d) DELAY=0 ;; @@ -102,6 +105,8 @@ Options: -w Set target word -H Enable hard mode -S Enable strict hard mode (Cannot reuse grey letters) + -k disable on screen keyboard + -d Enable debug mode (no delay during letter reveal) -h Show this help message and exit" exit