Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A20C0200BD4 for ; Thu, 1 Dec 2016 14:43:34 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A0A8C160B0F; Thu, 1 Dec 2016 13:43:34 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E9A8E160B0B for ; Thu, 1 Dec 2016 14:43:33 +0100 (CET) Received: (qmail 71894 invoked by uid 500); 1 Dec 2016 13:43:33 -0000 Mailing-List: contact commits-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list commits@karaf.apache.org Received: (qmail 71885 invoked by uid 99); 1 Dec 2016 13:43:33 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2016 13:43:33 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id F11EFE09CD; Thu, 1 Dec 2016 13:43:32 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: gnodet@apache.org To: commits@karaf.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: karaf git commit: [KARAF-4875] bundle:list should limit the table size to the terminal width Date: Thu, 1 Dec 2016 13:43:32 +0000 (UTC) archived-at: Thu, 01 Dec 2016 13:43:34 -0000 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 Authored: Thu Dec 1 14:43:19 2016 +0100 Committer: Guillaume Nodet 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();