conf: Drop excess colons in usage for DHCP and DNS options

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
Stefano Brivio 2022-10-11 00:41:47 +02:00
parent 6acf89638b
commit 57e2c066e9

8
conf.c
View file

@ -693,14 +693,14 @@ static void usage(const char *name)
info( " default: use search list from /etc/resolv.conf"); info( " default: use search list from /etc/resolv.conf");
if (strstr(name, "pasta")) if (strstr(name, "pasta"))
info(" --dhcp-dns: \tPass DNS list via DHCP/DHCPv6/NDP"); info(" --dhcp-dns \tPass DNS list via DHCP/DHCPv6/NDP");
else else
info(" --no-dhcp-dns: No DNS list in DHCP/DHCPv6/NDP"); info(" --no-dhcp-dns No DNS list in DHCP/DHCPv6/NDP");
if (strstr(name, "pasta")) if (strstr(name, "pasta"))
info(" --dhcp-search: Pass list via DHCP/DHCPv6/NDP"); info(" --dhcp-search Pass list via DHCP/DHCPv6/NDP");
else else
info(" --no-dhcp-search: No list in DHCP/DHCPv6/NDP"); info(" --no-dhcp-search No list in DHCP/DHCPv6/NDP");
info( " --dns-forward ADDR Forward DNS queries sent to ADDR"); info( " --dns-forward ADDR Forward DNS queries sent to ADDR");
info( " can be specified zero to two times (for IPv4 and IPv6)"); info( " can be specified zero to two times (for IPv4 and IPv6)");