uh ... is it "help" or "---help---"?
more teeth-gnashing pedantry ... is Kconfig standard "help" or
"---help---"?
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 2 lines · Robert P. J. Day
more teeth-gnashing pedantry ... is
Kconfigstandard "help" or
"---help---"?
Looking at Documentation/kbuild/kconfig-language.txt in the kernel:
- help text: "help" or "---help---"
This defines a help text. The end of the help text is determined by the indentation level, this means it ends at the first line which has a smaller indentation than the first line of the help text. "---help---" and "help" do not differ in behaviour, "---help---" is used to help visually separate configuration logic from help within the file as an aid to developers.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160420/a48916b8/attachment.sig>
Quoted 7 lines · Tom Rini
Quoted 2 lines · Robert P. J. Day
more teeth-gnashing pedantry ... is
Kconfigstandard "help" or
"---help---"?Looking at
Documentation/kbuild/kconfig-language.txtin the kernel:
Quoted 7 lines
- help text: "help" or "---help---"
This defines a help text. The end of the help text is determined by the indentation level, this means it ends at the first line which has a smaller indentation than the first line of the help text. "---help---" and "help" do not differ in behaviour, "---help---" is used to help visually separate configuration logic from help within the file as an aid to developers.
oh, i know both are valid, i just wondered whether u-boot coding
style/standards had a preference.
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 17 lines · Robert P. J. Day
Quoted 7 lines · Tom Rini
Quoted 2 lines · Robert P. J. Day
more teeth-gnashing pedantry ... is
Kconfigstandard "help" or
"---help---"?Looking at
Documentation/kbuild/kconfig-language.txtin the kernel:Quoted 7 lines
- help text: "help" or "---help---"
This defines a help text. The end of the help text is determined by the indentation level, this means it ends at the first line which has a smaller indentation than the first line of the help text. "---help---" and "help" do not differ in behaviour, "---help---" is used to help visually separate configuration logic from help within the file as an aid to developers.
Quoted 2 lines
oh, i know both are valid, i just wondered whether u-boot coding
style/standards had a preference.
Ah, nope. Just whatever reads well in the context of the file, like the kernel.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160421/5c8021e4/attachment.sig>