Rename option --admin to --web in version function

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2023-12-09 22:01:30 +01:00
parent fe7299323c
commit 6d02d4056f
No known key found for this signature in database
2 changed files with 9 additions and 9 deletions

View file

@ -35,7 +35,7 @@ _pihole() {
COMPREPLY=( $(compgen -W "${opts_update}" -- ${cur}) )
;;
"version")
opts_version="\--admin \--current \--ftl \--hash \--latest \--pihole"
opts_version="\--web \--current \--ftl \--hash \--latest \--pihole"
COMPREPLY=( $(compgen -W "${opts_version}" -- ${cur}) )
;;
"core"|"admin"|"ftl")