Commit 4ef1777c authored by Ulf Magnusson's avatar Ulf Magnusson Committed by Anas Nashif
Browse files

Kconfig: Use a short, consistent style for prompts

Consistently use

    config FOO
            bool/int/hex/string "Prompt text"

instead of

    config FOO
            bool/int/hex/string
            prompt "Prompt text"

(...and a bunch of other variations that e.g. swapped the order of the
type and the 'prompt', or put other properties between them).

The shorthand is fully equivalent to using 'prompt'. It saves lines and
avoids tricking people into thinking there is some semantic difference.

Most of the grunt work was done by a modified version of
https://unix.stackexchange.com/questions/26284/


how-can-i-use-sed-to-replace-a-multi-line-string/26290#26290, but some
of the rarer variations had to be converted manually.

Signed-off-by: default avatarUlf Magnusson <Ulf.Magnusson@nordicsemi.no>
parent d42e1309
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -10,8 +10,7 @@ config HAS_SEGGER_RTT
if HAS_SEGGER_RTT

config SEGGER_SYSTEMVIEW
	bool
	prompt "Segger SystemView support"
	bool "Segger SystemView support"
	select RTT_CONSOLE

config SEGGER_RTT_MAX_NUM_UP_BUFFERS