karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject karaf git commit: [KARAF-4875] bundle:list should limit the table size to the terminal width
Date Thu, 01 Dec 2016 13:43:32 GMT
Repository: karaf
Updated Branches:
  refs/heads/master 56eccaaf9 -> f08248feb


[KARAF-4875] bundle:list should limit the table size to the terminal width

Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/f08248fe
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/f08248fe
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/f08248fe

Branch: refs/heads/master
Commit: f08248feb0851cf939bc58fdcdb917264b529f77
Parents: 56eccaa
Author: Guillaume Nodet <gnodet@apache.org>
Authored: Thu Dec 1 14:43:19 2016 +0100
Committer: Guillaume Nodet <gnodet@apache.org>
Committed: Thu Dec 1 14:43:19 2016 +0100

----------------------------------------------------------------------
 .../core/src/main/java/org/apache/karaf/bundle/command/List.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/f08248fe/bundle/core/src/main/java/org/apache/karaf/bundle/command/List.java
----------------------------------------------------------------------
diff --git a/bundle/core/src/main/java/org/apache/karaf/bundle/command/List.java b/bundle/core/src/main/java/org/apache/karaf/bundle/command/List.java
index 000d3bd..656a5d6 100644
--- a/bundle/core/src/main/java/org/apache/karaf/bundle/command/List.java
+++ b/bundle/core/src/main/java/org/apache/karaf/bundle/command/List.java
@@ -89,7 +89,7 @@ public class List extends BundlesCommand {
         }
 
         ShellTable table = new ShellTable();
-        if (!noEllipsis && showLocation && terminal != null && terminal.getWidth()
> 0) {
+        if (!noEllipsis && terminal != null && terminal.getWidth() > 0)
{
             table.size(terminal.getWidth());
         }
         table.column("ID").alignRight();


Mime
View raw message