Comment 0 for bug 1562927

Revision history for this message
Kyrylo Romanenko (kromanenko) wrote : Wrap option for "ironic driver-properties" gives larger width then expected

Wrap option for "ironic driver-properties" gives larger width then 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