diff --git a/ddclient.in b/ddclient.in index 119be6f..bdbd061 100755 --- a/ddclient.in +++ b/ddclient.in @@ -459,24 +459,27 @@ my %ipv4_strategies = ( } keys(%builtinfw)), ); sub ipv4_strategies_usage { - return map { sprintf(" --usev4=%-22s %s.", $_, $ipv4_strategies{$_}) } sort keys %ipv4_strategies; + return map({ sprintf(" --usev4=%-22s %s.", $_, $ipv4_strategies{$_}) } + 'disabled', 'ipv4', 'webv4', 'ifv4', 'cmdv4', 'fwv4', sort(keys(%builtinfw))); } my %ipv6_strategies = ( - 'no' => ": deprecated, use '--usev6=disabled'", 'disabled' => ": do not obtain an IPv6 address for this host", - 'ip' => ": deprecated, use '--usev6=ipv6'", + 'no' => ": deprecated, use '--usev6=disabled'", 'ipv6' => ": obtain IPv6 from the address given by --ipv6=
", - 'web' => ": deprecated, use '--usev6=webv6'", + 'ip' => ": deprecated, use '--usev6=ipv6'", 'webv6' => ": obtain IPv6 from an IP discovery page on the web", - 'if' => ": deprecated, use '--usev6=ifv6'", + 'web' => ": deprecated, use '--usev6=webv6'", 'ifv6' => ": obtain IPv6 from the interface given by --ifv6=