]> Git Repo - J-u-boot.git/blobdiff - cmd/cli.c
Merge patch series "Apply SoM overlays on phyCORE-AM6xx SoMs"
[J-u-boot.git] / cmd / cli.c
index be3bf7dfe20218e3415fc64843278ecc698ce52f..e0ddd0a43d0bfc344ad62d6d4a30b6cdf3d35f16 100644 (file)
--- a/cmd/cli.c
+++ b/cmd/cli.c
@@ -118,16 +118,11 @@ static int do_cli(struct cmd_tbl *cmdtp, int flag, int argc,
        return CMD_RET_USAGE;
 }
 
-#if CONFIG_IS_ENABLED(SYS_LONGHELP)
-static char cli_help_text[] =
+U_BOOT_LONGHELP(cli,
        "get - print current cli\n"
-       "set - set the current cli, possible value are: old, modern"
-       ;
-#endif
+       "set - set the current cli, possible value are: old, modern\n");
 
 U_BOOT_CMD(cli, 3, 1, do_cli,
           "cli",
-#if CONFIG_IS_ENABLED(SYS_LONGHELP)
           cli_help_text
-#endif
 );
This page took 0.024762 seconds and 4 git commands to generate.