]> git.feebdaed.xyz Git - 0xmirror/pi-hole.git/commitdiff
Add "setpassword" to pihole Bash completion
authordeHakkelaar <deHakkelaar@users.noreply.github.com>
Thu, 31 Jul 2025 16:03:43 +0000 (18:03 +0200)
committerGitHub <noreply@github.com>
Thu, 31 Jul 2025 16:03:43 +0000 (18:03 +0200)
Its missing.
After:

```
$ sudo pihole
allow          arpflush       disable        logging        reloadlists    tail           version
allow-regex    checkout       enable         query          repair         uninstall      wildcard
allow-wild     debug          flush          regex          setpassword    updateGravity
api            deny           help           reloaddns      status         updatePihole
```

Signed-off-by: deHakkelaar <deHakkelaar@users.noreply.github.com>
advanced/bash-completion/pihole

index e0f9017b9e04af2f423952ca91879a950ff03545..acc5b71a9b062dba40cc7d2dc5ab704940189167 100644 (file)
@@ -7,7 +7,7 @@ _pihole() {
 
     case "${prev}" in
         "pihole")
-            opts="allow allow-regex allow-wild deny checkout debug disable enable flush help logging query repair regex reloaddns reloadlists status tail uninstall updateGravity updatePihole version wildcard networkflush api"
+            opts="allow allow-regex allow-wild deny checkout debug disable enable flush help logging query repair regex reloaddns reloadlists setpassword status tail uninstall updateGravity updatePihole version wildcard networkflush api"
             COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
         ;;
         "allow"|"deny"|"wildcard"|"regex"|"allow-regex"|"allow-wild")