Show help for "pihole checkout --help"

This commit is contained in:
WaLLy3K 2017-05-14 12:22:19 +10:00 committed by GitHub
parent 3bd677c102
commit 39b74ebfd4

2
pihole
View file

@ -280,7 +280,7 @@ tailFunc() {
}
piholeCheckoutFunc() {
if [[ "$2" == "-h" ]]; then
if [[ "$2" == "-h" ]] || [[ "$2" == "--help" ]]; then
echo "Usage: pihole checkout [repo] [branch]
Example: 'pihole checkout master' or 'pihole checkout core dev'
Switch Pi-hole subsystems to a different Github branch