Skip to contentSkip to conversation

uh ... is it "help" or "---help---"?

U-Boot Robert P. J. Day 2 participants 4 messages Apr 16, 2016 – Apr 21, 2016

lore
Share & tools
lore
#0 lore raw

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
========================================================================
#1 lore raw
Quoted 2 lines · Robert P. J. Day

more teeth-gnashing pedantry ... is Kconfig standard "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>
#2 lore raw
Quoted 7 lines · Tom Rini
Quoted 2 lines · Robert P. J. Day

more teeth-gnashing pedantry ... is Kconfig standard "help" or
"---help---"?

Looking at Documentation/kbuild/kconfig-language.txt in 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
========================================================================
#3 lore raw
Quoted 17 lines · Robert P. J. Day
Quoted 7 lines · Tom Rini
Quoted 2 lines · Robert P. J. Day

more teeth-gnashing pedantry ... is Kconfig standard "help" or
"---help---"?

Looking at Documentation/kbuild/kconfig-language.txt in 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>