Controller script, pihole.sh added

Syntax changes for user output to be consistent
This commit is contained in:
nate 2016-03-28 18:31:21 -05:00
parent df3cf72d29
commit 76ea1962be
4 changed files with 125 additions and 27 deletions

View file

@ -118,14 +118,14 @@ function normalChrono(){
}
function displayHelp(){
echo "Displays stats about your piHole!"
echo " "
echo "Usage: chronometer.sh [optional:-j]"
echo "Note: If no option is passed, then stats are displayed on screen, updated every 5 seconds"
echo " "
echo "Options:"
echo " -j, --json output stats as JSON formatted string"
echo " -h, --help display this help text"
echo "::: Displays stats about your piHole!"
echo ":::"
echo "::: Usage: pihole.sh -c [optional:-j]"
echo "::: Note: If no option is passed, then stats are displayed on screen, updated every 5 seconds"
echo ":::"
echo "::: Options:"
echo "::: -j, --json output stats as JSON formatted string"
echo "::: -h, --help display this help text"
exit 1
}