From 9f57bf933508901f07d22c75fca42e62145f5512 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 25 May 2019 17:04:09 +0200 Subject: Use the ' "prompt"' shorthand in __str__() Pro: Looks cleaner and matches how definitions are usually written. Con: Makes it harder to discover that 'bool "foo"' is just shorthand for 'bool' + 'prompt "foo"' (though it's documented). The pros probably win. --- tests/Kstr | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/Kstr b/tests/Kstr index 07d7b8d..4243918 100644 --- a/tests/Kstr +++ b/tests/Kstr @@ -238,3 +238,7 @@ config DEP_REM_CORNER_CASES depends on BAZ && QAZ endmenu + +# Only prompt, no type +config PROMPT_ONLY + prompt "prompt only" -- cgit v1.2.3