1
0
mirror of https://github.com/pi-hole/pi-hole synced 2025-01-22 05:51:15 +00:00

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() { piholeCheckoutFunc() {
if [[ "$2" == "-h" ]]; then if [[ "$2" == "-h" ]] || [[ "$2" == "--help" ]]; then
echo "Usage: pihole checkout [repo] [branch] echo "Usage: pihole checkout [repo] [branch]
Example: 'pihole checkout master' or 'pihole checkout core dev' Example: 'pihole checkout master' or 'pihole checkout core dev'
Switch Pi-hole subsystems to a different Github branch Switch Pi-hole subsystems to a different Github branch