Re: [PATCH] kconfig: config script: add a little user help
From: Masahiro Yamada
Date: Sat Dec 19 2020 - 10:59:19 EST
On Sun, Dec 20, 2020 at 12:47 AM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
>
> On Sat, Dec 19, 2020 at 3:00 PM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
> >
> > Give the user a clue about the problem along with the 35 lines of
> > usage/help text.
> >
> > Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> > Cc: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> > Cc: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> > Cc: linux-kbuild@xxxxxxxxxxxxxxx
> > ---
> > scripts/config | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > --- linux-next-20201218.orig/scripts/config
> > +++ linux-next-20201218/scripts/config
> > @@ -223,6 +223,7 @@ while [ "$1" != "" ] ; do
> > ;;
> >
> > *)
> > + echo "bad cmd: $CMD"
>
> Please send this to stderr.
Also, "bad command" instead of "bad cmd"
>
>
>
> > usage
> > ;;
> > esac
>
>
>
> --
> Best Regards
> Masahiro Yamada
--
Best Regards
Masahiro Yamada