]> Git Repo - J-u-boot.git/blobdiff - test/cmd_ut.c
cmd: Convert existing long help messages to the new macro
[J-u-boot.git] / test / cmd_ut.c
index 0f56409e8031449e49109e29793a24deb0432906..477d4759521cce1782f8055cc1d08b88ddfb9179 100644 (file)
@@ -166,8 +166,7 @@ static int do_ut(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
        return CMD_RET_USAGE;
 }
 
-#ifdef CONFIG_SYS_LONGHELP
-static char ut_help_text[] =
+U_BOOT_LONGHELP(ut,
        "[-r] [-f] [<suite>] - run unit tests\n"
        "   -r<runs>   Number of times to run each test\n"
        "   -f         Force 'manual' tests to run as well\n"
@@ -237,8 +236,7 @@ static char ut_help_text[] =
        !defined(CONFIG_SPL_BUILD) && !defined(API_BUILD)
        "\nunicode - Unicode functions"
 #endif
-       ;
-#endif /* CONFIG_SYS_LONGHELP */
+       );
 
 U_BOOT_CMD(
        ut, CONFIG_SYS_MAXARGS, 1, do_ut,
This page took 0.025329 seconds and 4 git commands to generate.