aboutsummaryrefslogtreecommitdiff
path: root/lib/keyringer/actions/ls.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/keyringer/actions/ls.rb')
-rw-r--r--lib/keyringer/actions/ls.rb2
1 files changed, 1 insertions, 1 deletions
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