aboutsummaryrefslogtreecommitdiff
path: root/lib/keyringer/decrypt.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/keyringer/decrypt.rb')
-rw-r--r--lib/keyringer/decrypt.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/keyringer/decrypt.rb b/lib/keyringer/decrypt.rb
index 9f872aa..a36d6d9 100644
--- a/lib/keyringer/decrypt.rb
+++ b/lib/keyringer/decrypt.rb
@@ -1,7 +1,7 @@
module Keyringer
class Decrypt
def execute
- filename = ARGV[2]
+ filename = $args[0]
crypt = Keyring::Crypt.new
output = crypt.decrypt(filename)
return output