diff mbox series

[3/3] bitbake-setup: put colon of prompt after suggested default

Message ID 20251203-bitbake-setup-input-consistent-v1-3-3c7e6edecd57@cherry.de
State New
Headers show
Series bitbake-setup: improve consistency in prompts | expand

Commit Message

Quentin Schulz Dec. 3, 2025, 12:15 p.m. UTC
From: Quentin Schulz <quentin.schulz@cherry.de>

Otherwise it differs from other input prompts we have and it's not
really clear whether anything is expected from the user.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
Also wondering if we shouldn't switch to () instead of [] for
surrounding the default value if no input is provided by the user
---
 bin/bitbake-setup | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/bin/bitbake-setup b/bin/bitbake-setup
index 7173fec1f..ecfcd677a 100755
--- a/bin/bitbake-setup
+++ b/bin/bitbake-setup
@@ -514,7 +514,7 @@  def init_config(top_dir, settings, args):
                 setup_dir_name = config_setup_dir_name
 
         if not args.non_interactive:
-            n = input(f"Enter setup directory name: [{setup_dir_name}] ")
+            n = input(f"Enter setup directory name [{setup_dir_name}]: ")
             if n:
                 setup_dir_name = n