[hackers] [quark][PATCH] main: fix usage text

From: Viktor Woloszczuk <viktor_AT_woloszcz.uk>
Date: Thu, 5 Feb 2026 19:37:34 +0000

When quark is run with no arguments, the usage text which prints is not
consistent with the manual, or the case-switch statement that handles
input args. This was caused by commit dff98c0b, when the '-n' option was
replaced by '-t' and '-s' options.
---
 main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/main.c b/main.c
index 1e88536..792d373 100644
--- a/main.c
+++ b/main.c
_AT_@ -54,8 +54,8 @@ handlesignals(void(*hdl)(int))
 static void
 usage(void)
 {
-	const char *opts = "[-u user] [-g group] [-n num] [-d dir] [-l] "
-	                   "[-i file] [-v vhost] ... [-m map] ...";
+	const char *opts = "[-u user] [-g group] [-s num] [-t num] [-d dir] "
+	                   "[-l] [-i file] [-v vhost] ... [-m map] ...";
 
 	die("usage: %s -p port [-h host] %s\n"
 	    "       %s -U file [-p port] %s", argv0,
-- 
2.53.0
Received on Thu Feb 05 2026 - 20:37:34 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 05 2026 - 20:48:32 CET