
























--- src/option.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/option.c b/src/option.c
index a11a341..5f9f9d6 100644
--- a/src/option.c
+++ b/src/option.c
@@ -867,7 +867,12 @@ static void do_usage(void)
sprintf(buff, " ");
sprintf(buff+4, "--%s%s%s", opts[j].name, eq, desc);
- printf("%-55.55s", buff);
+ if (strlen(buff) < 55)
+ printf("%-55.55s", buff);
+ else {
+ printf("%s\n", buff);
+ printf("%-55.55s", "");
+ }
if (usage[i].arg)
{
--
2.54.0
_______________________________________________
Dnsmasq-discuss mailing list
[email protected]
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。