public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH] conf: Drop excess colons in usage for DHCP and DNS options
@ 2022-10-10 23:33 Stefano Brivio
  2022-10-11  0:52 ` David Gibson
  0 siblings, 1 reply; 2+ messages in thread
From: Stefano Brivio @ 2022-10-10 23:33 UTC (permalink / raw)
  To: passt-dev

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
---
 conf.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/conf.c b/conf.c
index c2634fc..b1b7c63 100644
--- a/conf.c
+++ b/conf.c
@@ -693,14 +693,14 @@ static void usage(const char *name)
 		info(   "    default: use search list from /etc/resolv.conf");
 
 	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
-		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"))
-		info("  --dhcp-search:	Pass list via DHCP/DHCPv6/NDP");
+		info("  --dhcp-search	Pass list via DHCP/DHCPv6/NDP");
 	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(   "    can be specified zero to two times (for IPv4 and IPv6)");
-- 
@@ -693,14 +693,14 @@ static void usage(const char *name)
 		info(   "    default: use search list from /etc/resolv.conf");
 
 	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
-		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"))
-		info("  --dhcp-search:	Pass list via DHCP/DHCPv6/NDP");
+		info("  --dhcp-search	Pass list via DHCP/DHCPv6/NDP");
 	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(   "    can be specified zero to two times (for IPv4 and IPv6)");
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-11  1:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-10 23:33 [PATCH] conf: Drop excess colons in usage for DHCP and DNS options Stefano Brivio
2022-10-11  0:52 ` David Gibson

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).