Show help for "pihole -a -i --help"

This commit is contained in:
WaLLy3K 2017-05-14 11:47:56 +10:00 committed by GitHub
parent b721ed49ab
commit 0e4473685b
1 changed files with 1 additions and 1 deletions

View File

@ -390,7 +390,7 @@ SetHostRecord() {
SetListeningMode() {
source "${setupVars}"
if [[ "$3" == "-h" ]]; then
if [[ "$3" == "-h" ]] || [[ "$3" == "--help" ]]; then
echo "Usage: pihole -a -i [interface]
Example: 'pihole -a -i local'
Specify dnsmasq's network interface listening behavior