X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cmd%2Fhelp.c;h=a1a0b99b6ffac7c8e3888837c5d1af97f64f75fc;hb=08977f873f4034307796173784fc17a11188a0cb;hp=503fa632e74eb2da30585cc7d45cf645b6faca61;hpb=83d290c56fab2d38cd1ab4c4cc7099559c1d5046;p=oweals%2Fu-boot.git diff --git a/cmd/help.c b/cmd/help.c index 503fa632e7..a1a0b99b6f 100644 --- a/cmd/help.c +++ b/cmd/help.c @@ -27,11 +27,13 @@ U_BOOT_CMD( " - print detailed usage of 'command'" ); +#ifdef CONFIG_CMDLINE /* This does not use the U_BOOT_CMD macro as ? can't be used in symbol names */ ll_entry_declare(cmd_tbl_t, question_mark, cmd) = { - "?", CONFIG_SYS_MAXARGS, 1, do_help, + "?", CONFIG_SYS_MAXARGS, cmd_always_repeatable, do_help, "alias for 'help'", #ifdef CONFIG_SYS_LONGHELP "" #endif /* CONFIG_SYS_LONGHELP */ }; +#endif