[PATCH] Clean up Kconfig and source for a couple device tree commands.
Robert P. J. Day
rpjday at crashcourse.ca
Mon Jul 7 03:07:47 PDT 2014
On Mon, 7 Jul 2014, Jean-Christophe PLAGNIOL-VILLARD wrote:
>
> On Jul 5, 2014, at 12:18 AM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
>
> >
> >
> > Correct options listings for a couple device tree-related commands.
> >
> > Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>
> >
> > ---
> >
> > i *think* the following is valid.
> >
> > diff --git a/commands/Kconfig b/commands/Kconfig
> > index eed6fbd..3248de9 100644
> > --- a/commands/Kconfig
> > +++ b/commands/Kconfig
> > @@ -1950,10 +1950,11 @@ config CMD_OFTREE
> > help
> > oftree - handle device trees
> >
> > - Usage: oftree [-lpfdn] [DTB]
> > + Usage: oftree [-lspf] [DTB]
> >
> > Options:
> > -l Load DTB to internal device tree
> > + -s save internal device tree to DTB
> > -p probe devices from stored device tree
> > -f free stored device tree
> >
>
> do we really need the help here
>
> it’s a pain in the ass to keep it sync
as a followup to my reply, if it were me, i would just toss all the
usage/synopsis info from the Kconfig help -- as the OP quite
correctly points out, it's a pain in the ass to keep it sync'ed with
the source, and i've already run across several commands whose Kconfig
help doesn't match the source.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the barebox
mailing list