'ubuntu-advantage status': output formatting?
Bug #1719034 reported by
Steve Langasek
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-advantage-script |
Fix Released
|
Unknown
|
|||
ubuntu-advantage-tools (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
I like that there is now a 'status' subcommand. The current output looks like:
$ ubuntu-advantage status
livepatch: disabled (not available)
esm: disabled (not available)
fips: disabled (not available)
$
I think the output format could be improved in order to make it easier to scan.
- vertical whitespace: either omit all blank lines, or include an additional blank line before the first line of output
- horizontal whitespace: align on the start of the word 'disabled'?
- ordering: why are these services listed in the order they are? they're not alphabetical, they're not in the order in which they were added to the tool, and they don't match the ordering in the --help output.
Changed in ubuntu-advantage-tools (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in ubuntu-advantage-script: | |
status: | Unknown → New |
Changed in ubuntu-advantage-script: | |
status: | New → Fix Released |
To post a comment you must log in.
When a service is enabled, the output contains more information. Where should we indent that?
Example:
ubuntu@87-69:~$ ubuntu-advantage status 119-generic
livepatch: enabled
kernel: 4.4.0-96.
fully-patched: true
version: ""
esm: disabled (not available)
fips: disabled