[PATCH v1] btt: fix error configuration do-active parameter
Fanhui Meng <[email protected]> Thu, 24 Apr 2025 15:12:16 +0800
| Newsgroups | org.kernel.vger.linux-btrace |
|---|---|
| Message-ID | <[email protected]> |
handle_args handle do_p_live function using Z parameter. Therefore, when configuring parameters, it should also be Z. The introduction of parameter help also corresponds to Z. "[ -Z | --do-active\n" \ Signed-off-by: Fanhui Meng <[email protected]> --- btt/args.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btt/args.c b/btt/args.c index ec65399..56e3f6b 100644 --- a/btt/args.c +++ b/btt/args.c @@ -191,7 +191,7 @@ static struct option l_opts[] = { .name = "do-active", .has_arg = no_argument, .flag = NULL, - .val = 'z' + .val = 'Z' }, { .name = "easy-parse-avgs", -- 2.25.1