diff --git a/passtrust b/passtrust index 28e1dd2..5bef809 100755 --- a/passtrust +++ b/passtrust @@ -18,7 +18,7 @@ def blue(text); colorize(text, 34); end $options = OpenStruct.new # default options -$version = 1.1 +$version = 1.2 $options.verify = false $options.length = 16 $options.timeout = 10 @@ -78,7 +78,7 @@ def print_password(word) t = Time.new(0) timeout.downto(0) do |seconds| - print "\rThe screen will clear in #{(t + seconds).strftime('%S')} seconds." + print "\rThe screen will clear in #{(t + seconds).strftime('%M:%S')} seconds." sleep 1 end