diff options
author | Simon Glass <sjg@chromium.org> | 2024-08-21 17:52:24 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2024-09-01 11:05:43 -0600 |
commit | 4597acbd5943a53afb8aeb9595f2ea5a40e1f99f (patch) | |
tree | 150cfd77c72e9b870c305df7e39739d50ad2ef91 | |
parent | 7b8f0bfa6e1a0390bea8e2b24d7d7fa33d654db3 (diff) | |
download | u-boot-4597acbd5943a53afb8aeb9595f2ea5a40e1f99f.tar.gz u-boot-4597acbd5943a53afb8aeb9595f2ea5a40e1f99f.tar.bz2 u-boot-4597acbd5943a53afb8aeb9595f2ea5a40e1f99f.zip |
qconfig: Fix an incorrect format-string with negative value
This is not allowed, so use ljust() instead. This fixes the
'qconfig -i -I help' command.
Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: 1bd43060b3e ("moveconfig: Use f strings where possible")
-rwxr-xr-x | tools/qconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qconfig.py b/tools/qconfig.py index 7b868c7d72..8c2fc9efc5 100755 --- a/tools/qconfig.py +++ b/tools/qconfig.py @@ -1595,7 +1595,7 @@ def imply(args): if flag == 'help' or bad: print("Imply flags: (separate with ',')") for name, info in IMPLY_FLAGS.items(): - print(f' {name:-15s}: {info[1]}') + print(f' {name.ljust(15)}: {info[1]}') return 1 imply_flags |= IMPLY_FLAGS[flag][0] |