You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by gn...@apache.org on 2016/09/22 10:08:57 UTC
[2/8] karaf git commit: Restore « la -l » command behavior
Restore ��la -l�� command behavior
Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/7f5b904d
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/7f5b904d
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/7f5b904d
Branch: refs/heads/master
Commit: 7f5b904d6a206e37991e2f2d8ecb468b8b086558
Parents: b6e0985
Author: Guillaume Nodet <gn...@apache.org>
Authored: Wed Sep 21 10:35:13 2016 +0200
Committer: Guillaume Nodet <gn...@apache.org>
Committed: Wed Sep 21 10:35:13 2016 +0200
----------------------------------------------------------------------
.../base/src/main/resources/resources/etc/shell.init.script | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/karaf/blob/7f5b904d/assemblies/features/base/src/main/resources/resources/etc/shell.init.script
----------------------------------------------------------------------
diff --git a/assemblies/features/base/src/main/resources/resources/etc/shell.init.script b/assemblies/features/base/src/main/resources/resources/etc/shell.init.script
index 35afc12..5977a44 100644
--- a/assemblies/features/base/src/main/resources/resources/etc/shell.init.script
+++ b/assemblies/features/base/src/main/resources/resources/etc/shell.init.script
@@ -22,7 +22,7 @@
//
ld = { log:display $args } ;
lde = { log:exception-display $args } ;
-la = { bundle:list -t 0 $args } ;
+la = { if { $argv contains "-l" } { bundle:list -t 0 --no-name $args } { bundle:list -t -0 $args } } ;
ls = { service:list $args } ;
cl = { config:list "(service.pid=$args)" } ;
halt = { system:shutdown -h -f $args } ;