[
https://issues.jboss.org/browse/WFCORE-2812?page=com.atlassian.jira.plugi...
]
Chao Wang commented on WFCORE-2812:
-----------------------------------
Hi [~jdenise] I did not try with '-l', I can look into this in CLI tomorrow.
I'm not sure I follow "constraint the with of a column in SimpleTable to be of
length 0", Do you mean to change in
[
SimpleTable.java#L82|https://github.com/wildfly/wildfly-core/blob/5ff6433...]
something like
{code:java}
if(columnLengths[i] < value.length() + 1 && value.length() < terminalWidth)
{
columnLengths[i] = value.length() + 1;
}
{code}
to make output like 2nd screenshot ?
ls output is unfriendly if any element in return contents is longer
than terminal width
---------------------------------------------------------------------------------------
Key: WFCORE-2812
URL:
https://issues.jboss.org/browse/WFCORE-2812
Project: WildFly Core
Issue Type: Bug
Components: CLI, Security
Affects Versions: 3.0.0.Beta21
Reporter: Chao Wang
Assignee: Chao Wang
Attachments: Screenshot from 2017-05-16 17-36-21.png, ls -l.png
When 'ls' operation is performed over 'provider-loader' element, the
output is very ugly - I get many empty lines with one very long attribute value and few
more attributes with simple values.
Expected: no empty lines between printed attributes so the output does not take like 4
screen size.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)