mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-20 01:50:04 +00:00
minor fix in list_keys interface
This commit is contained in:
parent
362253c63b
commit
e17219c772
1 changed files with 2 additions and 1 deletions
|
@ -123,11 +123,12 @@ class Cli
|
|||
length += 7
|
||||
|
||||
puts "\n#{I18n.t('display.keys')}".red
|
||||
print ' '
|
||||
length.times { print '=' }
|
||||
print "\n"
|
||||
|
||||
@mpw.list_keys.each do |key|
|
||||
print " #{i}".cyan
|
||||
print " #{i}".cyan
|
||||
(3 - i.to_s.length).times { print ' ' }
|
||||
puts "| #{key}"
|
||||
i += 1
|
||||
|
|
Loading…
Add table
Reference in a new issue