From 7a9567d76454217955e643953da37f31fe760185 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 1 Feb 2011 11:52:51 -0200 Subject: Argument support for ls action --- lib/keyringer/actions/ls.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/keyringer/actions/ls.rb b/lib/keyringer/actions/ls.rb index 6f295ad..2fac17b 100644 --- a/lib/keyringer/actions/ls.rb +++ b/lib/keyringer/actions/ls.rb @@ -23,7 +23,7 @@ module Keyringer class Ls def execute path = Keyring::UserConfig.instance.path - Dir.entries(path + '/keys').join(' ') + Dir.entries(path + "/keys/#{$args[0]}").join(' ') end end end -- cgit v1.2.3