Wrap option for "ironic driver-properties" gives larger table width then expected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-ironicclient |
Triaged
|
Low
|
Vadim Hmyrov |
Bug Description
Wrap option for "ironic driver-properties" gives larger width than expected in output.
Examples:
$ ironic driver-properties agent_ssh --wrap 30
+------
| Property | Description |
+------
...
actual width of table is 61 char
$ ironic driver-properties agent_ssh --wrap 40
+------
| Property | Description |
+------
...
actual width of table is 71 char
$ ironic driver-properties agent_ssh --wrap 60
+------
| Property | Description |
+------
...
actual width of table is 90 chars
$ ironic driver-properties agent_ssh --wrap 80
+------
| Property | Description |
+------
...
actual width of table is 111 chars
summary: |
- Wrap option for "ironic driver-properties" gives larger width then + Wrap option for "ironic driver-properties" gives larger table width then expected |
Changed in python-ironicclient: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in python-ironicclient: | |
assignee: | nobody → Vadim Hmyrov (vhmyrov) |
description: | updated |
The "--wrap (width)" flag diminishes the "Description" column to the given width. IMO this is how it is meant to work. Could someone please confirm that this flag should wrap the whole table to the given width?