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 = ( my @opt = (
"usage: ${program} [options]", "usage: ${program} [options]",
"options are:", "options are:",
[ "daemon", "=s", "-daemon delay : run as a daemon, specify delay as an interval." ], ["daemon", "=s", "-daemon delay : run as a daemon, specify delay as an interval."],
[ "foreground", "!", "-foreground : do not fork" ], ["foreground", "!", "-foreground : do not fork"],
[ "proxy", "=s", "-proxy host : use 'host' as the HTTP proxy" ], ["proxy", "=s", "-proxy host : use 'host' as the HTTP proxy"],
[ "server", "=s", "-server host : update DNS information on 'host'" ], ["server", "=s", "-server host : update DNS information on 'host'"],
[ "protocol", "=s", "-protocol type : update protocol used" ], ["protocol", "=s", "-protocol type : update protocol used"],
[ "file", "=s", "-file path : load configuration information from 'path'" ], ["file", "=s", "-file path : load configuration information from 'path'"],
[ "cache", "=s", "-cache path : record address used in 'path'" ], ["cache", "=s", "-cache path : record address used in 'path'"],
[ "pid", "=s", "-pid path : record process id in 'path' if daemonized" ], ["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_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", "=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-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", "=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-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", "=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-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-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-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", "=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-skip", "=s", "-cmd-skip pattern : skip any IP addresses before 'pattern' in the output of {cmd}"],
"", "",
[ "login", "=s", "-login user : login as 'user'" ], ["login", "=s", "-login user : login as 'user'"],
[ "password", "=s", "-password secret : use password 'secret'" ], ["password", "=s", "-password secret : use password 'secret'"],
[ "host", "=s", "-host host : update DNS information for 'host'" ], ["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", "!", "-{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_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)" ], ["ssl_ca_file", "=s", "-ssl_ca_file : file containing certificates of trusted certificate authorities (default: auto-detect)"],
[ "retry", "!", "-{no}retry : retry failed updates." ], ["retry", "!", "-{no}retry : retry failed updates."],
[ "force", "!", "-{no}force : force an update even if the update may be unnecessary" ], ["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" ], ["timeout", "=i", "-timeout max : wait at most 'max' seconds for the host to respond"],
["syslog", "!", "-{no}syslog : log messages to syslog"],
[ "syslog", "!", "-{no}syslog : log messages to syslog" ], ["facility", "=s", "-facility {type} : log messages to syslog to facility {type}"],
[ "facility", "=s", "-facility {type} : log messages to syslog to facility {type}" ], ["priority", "=s", "-priority {pri} : log messages to syslog with priority {pri}"],
[ "priority", "=s", "-priority {pri} : log messages to syslog with priority {pri}" ], ["mail", "=s", "-mail address : e-mail messages to {address}"],
[ "mail", "=s", "-mail address : e-mail messages to {address}" ], ["mail-failure", "=s", "-mail-failure address : e-mail messages for failed updates 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"],
[ "exec", "!", "-{no}exec : do {not} execute; just show what would be done" ], ["debug", "!", "-{no}debug : print {no} debugging information"],
[ "debug", "!", "-{no}debug : print {no} debugging information" ], ["verbose", "!", "-{no}verbose : print {no} verbose information"],
[ "verbose", "!", "-{no}verbose : print {no} verbose information" ], ["quiet", "!", "-{no}quiet : print {no} messages for unnecessary updates"],
[ "quiet", "!", "-{no}quiet : print {no} messages for unnecessary updates" ], ["ipv6", "!", "-{no}ipv6 : use ipv6"],
[ "ipv6", "!", "-{no}ipv6 : use ipv6" ], ["help", "", "-help : this message"],
[ "help", "", "-help : this message" ], ["postscript", "", "-postscript : script to run after updating ddclient, has new IP as param"],
[ "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
[ "query", "!", "-{no}query : print {no} ip addresses and exit" ], ["test", "!", ""], ## hidden
[ "fw-banlocal", "!", "" ], ## deprecated ["geturl", "=s", ""], ## hidden
[ "test", "!", "" ], ## hidden
[ "geturl", "=s", "" ], ## hidden
"", "",
nic_examples(), nic_examples(),
"$program version $version, ", "$program version $version, ",