From: Willy Tarreau Date: Tue, 2 May 2023 14:37:13 +0000 (+0200) Subject: MINOR: debug: clarify "debug dev stream" help message X-Git-Tag: v2.8-dev10~73 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd01448953f6cbd85a2abbce5a785133b8824d08;p=thirdparty%2Fhaproxy.git 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. --- 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"