diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-01-28 03:11:56 +0300 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-02-10 15:05:39 +0300 |
commit | fe34e163e0a6b77894c5d533fbfe6909a8bccfb3 (patch) | |
tree | a20ca1e55ad86041f2b70a0050b5179f4e92d970 /.gitignore | |
parent | eeb55254dd0808f008f9ce99195f61520daae28d (diff) | |
download | u-boot-fe34e163e0a6b77894c5d533fbfe6909a8bccfb3.tar.xz |
cmd: improve coninfo output formatting
Device name are typically longer than 8 characters. This leads to ragged
output.
Only the I and O bit of the device flags are of interest for the user.
Writing a hexadecimal number is just confusing.
Before the patch the output looked like this:
=> coninfo
List of available devices:
pl011@9000000 00000007 IO stdin stdout stderr
serial 00000003 IO
usbkbd 00000001 I.
With the patch the output looks like this:
=> coninfo
List of available devices
|-- pl011@9000000 (IO)
| |-- stdin
| |-- stdout
| |-- stderr
|-- serial (IO)
|-- usbkbd (I)
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions