From: Daniel Corbett Date: Mon, 10 May 2021 18:08:40 +0000 (-0400) Subject: CLEANUP: cli/activity: Remove double spacing in set profiling command X-Git-Tag: v2.4.0~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67b3cefea3888560e185e531cffa6631a1ce7649;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/activity.c b/src/activity.c index 179ff1f32f..6b9430c7d1 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 }, {{},}