Whitespace fixes

This commit is contained in:
Richard Hansen 2020-08-02 17:03:54 -04:00
parent 59f363ffe2
commit 4bf9d59722

View file

@ -758,64 +758,62 @@ $opt{'fw-banlocal'} = sub { warning("'-fw-banlocal' is deprecated and does nothi
my @opt = (
"usage: ${program} [options]",
"options are:",
[ "daemon", "=s", "-daemon delay : run as a daemon, specify delay as an interval." ],
[ "foreground", "!", "-foreground : do not fork" ],
[ "proxy", "=s", "-proxy host : use 'host' as the HTTP proxy" ],
[ "server", "=s", "-server host : update DNS information on 'host'" ],
[ "protocol", "=s", "-protocol type : update protocol used" ],
[ "file", "=s", "-file path : load configuration information from 'path'" ],
[ "cache", "=s", "-cache path : record address used in 'path'" ],
[ "pid", "=s", "-pid path : record process id in 'path' if daemonized" ],
["daemon", "=s", "-daemon delay : run as a daemon, specify delay as an interval."],
["foreground", "!", "-foreground : do not fork"],
["proxy", "=s", "-proxy host : use 'host' as the HTTP proxy"],
["server", "=s", "-server host : update DNS information on 'host'"],
["protocol", "=s", "-protocol type : update protocol used"],
["file", "=s", "-file path : load configuration information from 'path'"],
["cache", "=s", "-cache path : record address used in 'path'"],
["pid", "=s", "-pid path : record process id in 'path' if daemonized"],
"",
[ "use", "=s", "-use which : how the should IP address be obtained." ],
["use", "=s", "-use which : how the should IP address be obtained."],
&ip_strategies_usage(),
"",
[ "ip", "=s", "-ip address : set the IP address to 'address'" ],
["ip", "=s", "-ip address : set the IP address to 'address'"],
"",
[ "if", "=s", "-if interface : obtain IP address from 'interface'" ],
[ "if-skip", "=s", "-if-skip pattern : skip any IP addresses before 'pattern' in the output of 'ip address show dev {if}' (or 'ifconfig {if}')" ],
["if", "=s", "-if interface : obtain IP address from 'interface'"],
["if-skip", "=s", "-if-skip pattern : skip any IP addresses before 'pattern' in the output of 'ip address show dev {if}' (or 'ifconfig {if}')"],
"",
[ "web", "=s", "-web provider|url : obtain IP address from provider's IP checking page" ],
[ "web-skip", "=s", "-web-skip pattern : skip any IP addresses before 'pattern' on the web provider|url" ],
["web", "=s", "-web provider|url : obtain IP address from provider's IP checking page"],
["web-skip", "=s", "-web-skip pattern : skip any IP addresses before 'pattern' on the web provider|url"],
"",
[ "fw", "=s", "-fw address|url : obtain IP address from firewall at 'address'" ],
[ "fw-skip", "=s", "-fw-skip pattern : skip any IP addresses before 'pattern' on the firewall address|url" ],
[ "fw-login", "=s", "-fw-login login : use 'login' when getting IP from fw" ],
[ "fw-password", "=s", "-fw-password secret : use password 'secret' when getting IP from fw" ],
["fw", "=s", "-fw address|url : obtain IP address from firewall at 'address'"],
["fw-skip", "=s", "-fw-skip pattern : skip any IP addresses before 'pattern' on the firewall address|url"],
["fw-login", "=s", "-fw-login login : use 'login' when getting IP from fw"],
["fw-password", "=s", "-fw-password secret : use password 'secret' when getting IP from fw"],
"",
[ "cmd", "=s", "-cmd program : obtain IP address from by calling {program}" ],
[ "cmd-skip", "=s", "-cmd-skip pattern : skip any IP addresses before 'pattern' in the output of {cmd}" ],
["cmd", "=s", "-cmd program : obtain IP address from by calling {program}"],
["cmd-skip", "=s", "-cmd-skip pattern : skip any IP addresses before 'pattern' in the output of {cmd}"],
"",
[ "login", "=s", "-login user : login as 'user'" ],
[ "password", "=s", "-password secret : use password 'secret'" ],
[ "host", "=s", "-host host : update DNS information for 'host'" ],
["login", "=s", "-login user : login as 'user'"],
["password", "=s", "-password secret : use password 'secret'"],
["host", "=s", "-host host : update DNS information for 'host'"],
"",
[ "options", "=s", "-options opt,opt : optional per-service arguments (see below)" ],
["options", "=s", "-options opt,opt : optional per-service arguments (see below)"],
"",
[ "ssl", "!", "-{no}ssl : do updates over encrypted SSL connection" ],
[ "ssl_ca_dir", "=s", "-ssl_ca_dir : directory containing certificates of trusted certificate authorities (default: auto-detect)" ],
[ "ssl_ca_file", "=s", "-ssl_ca_file : file containing certificates of trusted certificate authorities (default: auto-detect)" ],
[ "retry", "!", "-{no}retry : retry failed updates." ],
[ "force", "!", "-{no}force : force an update even if the update may be unnecessary" ],
[ "timeout", "=i", "-timeout max : wait at most 'max' seconds for the host to respond" ],
[ "syslog", "!", "-{no}syslog : log messages to syslog" ],
[ "facility", "=s", "-facility {type} : log messages to syslog to facility {type}" ],
[ "priority", "=s", "-priority {pri} : log messages to syslog with priority {pri}" ],
[ "mail", "=s", "-mail address : e-mail messages to {address}" ],
[ "mail-failure","=s", "-mail-failure address : e-mail messages for failed updates to {address}" ],
[ "exec", "!", "-{no}exec : do {not} execute; just show what would be done" ],
[ "debug", "!", "-{no}debug : print {no} debugging information" ],
[ "verbose", "!", "-{no}verbose : print {no} verbose information" ],
[ "quiet", "!", "-{no}quiet : print {no} messages for unnecessary updates" ],
[ "ipv6", "!", "-{no}ipv6 : use ipv6" ],
[ "help", "", "-help : this message" ],
[ "postscript", "", "-postscript : script to run after updating ddclient, has new IP as param" ],
[ "query", "!", "-{no}query : print {no} ip addresses and exit" ],
[ "fw-banlocal", "!", "" ], ## deprecated
[ "test", "!", "" ], ## hidden
[ "geturl", "=s", "" ], ## hidden
["ssl", "!", "-{no}ssl : do updates over encrypted SSL connection"],
["ssl_ca_dir", "=s", "-ssl_ca_dir : directory containing certificates of trusted certificate authorities (default: auto-detect)"],
["ssl_ca_file", "=s", "-ssl_ca_file : file containing certificates of trusted certificate authorities (default: auto-detect)"],
["retry", "!", "-{no}retry : retry failed updates."],
["force", "!", "-{no}force : force an update even if the update may be unnecessary"],
["timeout", "=i", "-timeout max : wait at most 'max' seconds for the host to respond"],
["syslog", "!", "-{no}syslog : log messages to syslog"],
["facility", "=s", "-facility {type} : log messages to syslog to facility {type}"],
["priority", "=s", "-priority {pri} : log messages to syslog with priority {pri}"],
["mail", "=s", "-mail address : e-mail messages to {address}"],
["mail-failure", "=s", "-mail-failure address : e-mail messages for failed updates to {address}"],
["exec", "!", "-{no}exec : do {not} execute; just show what would be done"],
["debug", "!", "-{no}debug : print {no} debugging information"],
["verbose", "!", "-{no}verbose : print {no} verbose information"],
["quiet", "!", "-{no}quiet : print {no} messages for unnecessary updates"],
["ipv6", "!", "-{no}ipv6 : use ipv6"],
["help", "", "-help : this message"],
["postscript", "", "-postscript : script to run after updating ddclient, has new IP as param"],
["query", "!", "-{no}query : print {no} ip addresses and exit"],
["fw-banlocal", "!", ""], ## deprecated
["test", "!", ""], ## hidden
["geturl", "=s", ""], ## hidden
"",
nic_examples(),
"$program version $version, ",