aboutsummaryrefslogtreecommitdiff
path: root/twofa
diff options
context:
space:
mode:
Diffstat (limited to 'twofa')
-rwxr-xr-xtwofa4
1 files changed, 2 insertions, 2 deletions
diff --git a/twofa b/twofa
index d5e2526..81d23a3 100755
--- a/twofa
+++ b/twofa
@@ -128,7 +128,7 @@ Usage:
where [opts] are:
EOS
- opt :no_clip, "Do not copy code to the clipboard"
+ opt :dont_clip, "Do not copy code to the clipboard"
opt :twofa_file, "Location of the twofa secrets file",
type: :string, default: File.join(ENV["HOME"], ".twofa")
end
@@ -163,7 +163,7 @@ when 'hotp'
File.open(TWOFAFILE, ?w).puts SECRETS.puts
end
-unless opts[:no_clip] then
+unless opts[:dont_clip] then
require "clipboard"
Clipboard.copy(code)
puts "(Copied to clipboard)"