From: Sean Anderson Date: Sat, 10 Oct 2020 15:43:39 -0400 Subject: [PATCH v2 14/22] cmd: log: Move log test to end of help string In-Reply-To: <20201010194347.90096-1-seanga2@gmail.com> References: <20201010194347.90096-1-seanga2@gmail.com> Message-ID: <20201010194347.90096-15-seanga2@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This is probably what a typical user is least interested in. Move it to the end of the description. Signed-off-by: Sean Anderson --- (no changes since v1) cmd/log.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/log.c b/cmd/log.c index 5387aab551..9076e220f0 100644 --- a/cmd/log.c +++ b/cmd/log.c @@ -123,23 +123,23 @@ static int do_log_rec(struct cmd_tbl *cmdtp, int flag, int argc, #ifdef CONFIG_SYS_LONGHELP static char log_help_text[] = "level - get/set log level\n" -#if CONFIG_IS_ENABLED(LOG_TEST) - "log test - run log tests\n" -#endif "log format - set log output format. is a string where\n" "\teach letter indicates something that should be displayed:\n" "\tc=category, l=level, F=file, L=line number, f=function, m=msg\n" "\tor 'default', or 'all' for all\n" "log rec - " "output a log record" +#if CONFIG_IS_ENABLED(LOG_TEST) + "\nlog test - run log tests" +#endif ; #endif U_BOOT_CMD_WITH_SUBCMDS(log, "log system", log_help_text, U_BOOT_SUBCMD_MKENT(level, 2, 1, do_log_level), + U_BOOT_SUBCMD_MKENT(format, 2, 1, do_log_format), + U_BOOT_SUBCMD_MKENT(rec, 7, 1, do_log_rec), #if CONFIG_IS_ENABLED(LOG_TEST) U_BOOT_SUBCMD_MKENT(test, 2, 1, do_log_test), #endif - U_BOOT_SUBCMD_MKENT(format, 2, 1, do_log_format), - U_BOOT_SUBCMD_MKENT(rec, 7, 1, do_log_rec), ); -- 2.28.0