This commit is contained in:
Vince 2022-10-23 19:44:08 +08:00
parent 7ab56dc587
commit 967a302d8f
2 changed files with 0 additions and 5 deletions

View file

@ -6,7 +6,6 @@ Usage: `sudo ./install.sh [OPTIONS...]`
| Options: | Description: | | Options: | Description: |
|:-----------------------|:-------------| |:-----------------------|:-------------|
| -b, --boot | Install grub theme into `/boot/grub/themes` |
| -t, --theme | theme variant(s) [tela/vimix/stylish/whitesur] (default is tela)" | -t, --theme | theme variant(s) [tela/vimix/stylish/whitesur] (default is tela)"
| -i, --icon | icon variant(s) [color/white/whitesur] (default is color)" | -i, --icon | icon variant(s) [color/white/whitesur] (default is color)"
| -s, --screen | screen resolution variant(s) [1080p/2k/4k/ultrawide/ultrawide2k] (default is 1080p)" | -s, --screen | screen resolution variant(s) [1080p/2k/4k/ultrawide/ultrawide2k] (default is 1080p)"

View file

@ -59,7 +59,6 @@ function has_command() {
usage() { usage() {
printf "%s\n" "Usage: ${0##*/} [OPTIONS...]" printf "%s\n" "Usage: ${0##*/} [OPTIONS...]"
printf "\n%s\n" "OPTIONS:" printf "\n%s\n" "OPTIONS:"
printf " %-25s%s\n" "-b, --boot" "install grub theme into /boot/grub/themes"
printf " %-25s%s\n" "-t, --theme" "theme variant(s) [tela|vimix|stylish|whitesur] (default is tela)" printf " %-25s%s\n" "-t, --theme" "theme variant(s) [tela|vimix|stylish|whitesur] (default is tela)"
printf " %-25s%s\n" "-i, --icon" "icon variant(s) [color|white|whitesur] (default is color)" printf " %-25s%s\n" "-i, --icon" "icon variant(s) [color|white|whitesur] (default is color)"
printf " %-25s%s\n" "-s, --screen" "screen display variant(s) [1080p|2k|4k|ultrawide|ultrawide2k] (default is 1080p)" printf " %-25s%s\n" "-s, --screen" "screen display variant(s) [1080p|2k|4k|ultrawide|ultrawide2k] (default is 1080p)"
@ -458,9 +457,6 @@ while [[ $# -gt 0 ]]; do
PROG_ARGS+=("${1}") PROG_ARGS+=("${1}")
dialog='false' dialog='false'
case "${1}" in case "${1}" in
-b|--boot)
shift 1
;;
-r|--remove) -r|--remove)
remove='true' remove='true'
shift 1 shift 1