Minor corrections in help
This commit is contained in:
@@ -27,7 +27,7 @@ urls=()
|
||||
port=443
|
||||
# Days left before notification
|
||||
nday=15
|
||||
# Choose the notification
|
||||
# Choose the notification (pushover or gotify)
|
||||
notif="pushover"
|
||||
|
||||
not_required_domains="$HOME/Documents/Scripts/pihole/sync_pihole_lan.sh"
|
||||
@@ -90,8 +90,8 @@ display_help() {
|
||||
echo "Usage: $0 " >&2
|
||||
echo
|
||||
echo -e "${bold}urls_check.sh${reset} will read a list of urls in ${underline}urls_list.txt${reset} file, then return the status code for each url."
|
||||
echo -e "If the site is up (status code: 200, 301, 302, 303, 307), then certificate information will be displayed."
|
||||
echo -e "If the site is down or the certificate is outdated, a Pushover (or Gotify) notification will be sent."
|
||||
echo -e "If the site is ${green}up${reset} (status code: 200, 301, 302, 303, 307), then certificate information will be displayed."
|
||||
echo -e "If the site is ${red}down${reset} or the certificate is outdated, a Pushover (or Gotify) notification will be sent."
|
||||
echo -e "${underline}status.txt${reset} give description and a link to Mozilla for each status code."
|
||||
echo -e "${bold}showcert${reset} is required to check certificate ${italic}(pip install showcert)${reset}. If not, ${bold}openssl${reset} will be used."
|
||||
echo
|
||||
@@ -99,6 +99,12 @@ display_help() {
|
||||
echo -e " -u <url> | --url <url> Check the url passed as argument."
|
||||
echo -e " -h | --help Display this help."
|
||||
echo
|
||||
echo -e "${bold}urls_list.txt${reset}"
|
||||
echo -e "https://subdomain1.domain.com"
|
||||
echo -e "#https://subdomain2.domain.com"
|
||||
echo -e "https://www.domain2.com"
|
||||
echo -e "${italic}Add a # to ignore url${reset}"
|
||||
echo
|
||||
# echo some stuff here for the -a or --add-options
|
||||
exit 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user