Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDL6ER <dl6er@dl6er.de>2019-06-15 10:06:10 +0300
committerDL6ER <dl6er@dl6er.de>2019-06-15 10:08:33 +0300
commit4947350ca5d946a66fdcb7952b4ef200d833e779 (patch)
tree30ff0db4738c43ce0b3480bd3d41a1f88518348b
parentc1495b0fa89dcdc46a0b2f7ac214deef606f84ff (diff)
Add arpflush to help and bash autocompletion
Signed-off-by: DL6ER <dl6er@dl6er.de>
-rw-r--r--advanced/bash-completion/pihole2
-rwxr-xr-xpihole3
2 files changed, 3 insertions, 2 deletions
diff --git a/advanced/bash-completion/pihole b/advanced/bash-completion/pihole
index 7ba0dad8..cea36060 100644
--- a/advanced/bash-completion/pihole
+++ b/advanced/bash-completion/pihole
@@ -7,7 +7,7 @@ _pihole() {
case "${prev}" in
"pihole")
- opts="admin blacklist checkout chronometer debug disable enable flush help logging query reconfigure regex restartdns status tail uninstall updateGravity updatePihole version wildcard whitelist"
+ opts="admin blacklist checkout chronometer debug disable enable flush help logging query reconfigure regex restartdns status tail uninstall updateGravity updatePihole version wildcard whitelist arpflush"
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
;;
"whitelist"|"blacklist"|"wildcard"|"regex")
diff --git a/pihole b/pihole
index d837f873..9fa65a8f 100755
--- a/pihole
+++ b/pihole
@@ -408,7 +408,8 @@ Options:
Add '-h' for more info on disable usage
restartdns Restart Pi-hole subsystems
checkout Switch Pi-hole subsystems to a different Github branch
- Add '-h' for more info on checkout usage";
+ Add '-h' for more info on checkout usage
+ arpflush Flush information stored in Pi-hole's network tables";
exit 0
}