From 67b3cefea3888560e185e531cffa6631a1ce7649 Mon Sep 17 00:00:00 2001 From: Daniel Corbett Date: Mon, 10 May 2021 14:08:40 -0400 Subject: [PATCH] CLEANUP: cli/activity: Remove double spacing in set profiling command It was found that when viewing the help output from the CLI that "set profiling" had 2 spaces in it, which was pushing it out from the rest of similar commands. i.e. it looked like this: prepare acl prepare map set profiling {auto|on|off} set dynamic-cookie-key backend set map [|#] set maxconn frontend This patch removes all of the double spaces within the command and unifies them to single spacing, which is what is observed within the rest of the commands. --- src/activity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activity.c b/src/activity.c index 179ff1f..6b9430c 100644 --- a/src/activity.c +++ b/src/activity.c @@ -833,7 +833,7 @@ INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); /* register cli keywords */ static struct cli_kw_list cli_kws = {{ },{ - { { "set", "profiling", NULL }, "set profiling {auto|on|off} : enable/disable resource profiling (tasks,memory)", cli_parse_set_profiling, NULL }, + { { "set", "profiling", NULL }, "set profiling {auto|on|off} : enable/disable resource profiling (tasks,memory)", cli_parse_set_profiling, NULL }, { { "show", "profiling", NULL }, "show profiling [] [] : show profiling state (all,status,tasks,memory)", cli_parse_show_profiling, cli_io_handler_show_profiling, NULL }, { { "show", "tasks", NULL }, "show tasks : show running tasks", NULL, cli_io_handler_show_tasks, NULL }, {{},} -- 1.7.10.4