From f50cbe74cb4a974ebd9125c3edeb06a9f8b3efad Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sun, 20 Nov 2016 15:15:27 +0100 Subject: [PATCH] Changed -web (webpage) to -a (admin) --- advanced/Scripts/webpage.sh | 4 ++-- pihole | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/advanced/Scripts/webpage.sh b/advanced/Scripts/webpage.sh index 68be534f..bcb45a14 100755 --- a/advanced/Scripts/webpage.sh +++ b/advanced/Scripts/webpage.sh @@ -13,9 +13,9 @@ args=("$@") helpFunc() { cat << EOM -::: Set options for the web interface of pihole +::: Set admin options for the web interface of pihole ::: -::: Usage: pihole -web [options] +::: Usage: pihole -a [options] ::: ::: Options: ::: -p, password Set web interface password, an empty input will remove any previously set password diff --git a/pihole b/pihole index 98b1850b..530dac8d 100755 --- a/pihole +++ b/pihole @@ -185,7 +185,7 @@ helpFunc() { ::: Control all PiHole specific functions! ::: ::: Usage: pihole [options] -::: Add -h after -w (whitelist), -b (blacklist), -c (chronometer), or -web (webpage) for more information on usage +::: Add -h after -w (whitelist), -b (blacklist), -c (chronometer), or -a (admin) for more information on usage ::: ::: Options: ::: -w, whitelist Whitelist domains @@ -200,7 +200,7 @@ helpFunc() { ::: -v, version Show current versions ::: -q, query Query the adlists for a specific domain ::: -l, logging Enable or Disable logging (pass 'on' or 'off') -::: -web, webpage Webpage options +::: -a, admin Admin webpage options ::: uninstall Uninstall Pi-Hole from your system :(! ::: status Is Pi-Hole Enabled or Disabled ::: enable Enable Pi-Hole DNS Blocking @@ -234,6 +234,6 @@ case "${1}" in "disable" ) piholeEnable 0;; "status" ) piholeStatus "$2";; "restartdns" ) restartDNS;; - "-web" | "webpage" ) webpageFunc "$@";; + "-a" | "admin" ) webpageFunc "$@";; * ) helpFunc;; esac