From dd01448953f6cbd85a2abbce5a785133b8824d08 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 2 May 2023 16:37:13 +0200 Subject: [PATCH] MINOR: debug: clarify "debug dev stream" help message The help message was insufficient to figure how to use it and specify the stream pointer and changes to operate. --- src/debug.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/debug.c b/src/debug.c index b02d92f8f5..e613271a54 100644 --- a/src/debug.c +++ b/src/debug.c @@ -772,10 +772,8 @@ static int debug_parse_cli_stream(char **args, char *payload, struct appctx *app if (!*args[3]) { return cli_err(appctx, - "Usage: debug dev stream { | wake }*\n" - " = {strm | strm.f | strm.x |\n" - " scf.s | scb.s |\n" - " txn.f | req.f | res.f}\n" + "Usage: debug dev stream [ strm= ] { | wake }*\n" + " = { strm.f | strm.x | scf.s | scb.s | txn.f | req.f | res.f }\n" " = {'' (show) | '=' (assign) | '^' (xor) | '+' (or) | '-' (andnot)}\n" " = 'now' | 64-bit dec/hex integer (0x prefix supported)\n" " 'wake' wakes the stream asssigned to 'strm' (default: current)\n" -- 2.47.3