lib/sifttter_redux/cli_message.rb in sifttter-redux-0.5.3 vs lib/sifttter_redux/cli_message.rb in sifttter-redux-0.5.4
- old
+ new
@@ -128,10 +128,10 @@
files = Dir["#{start_dir}#{prefix}*"]
files.
map { |f| File.expand_path(f) }.
map { |f| File.directory?(f) ? f + "/" : f }
end
- choice = Readline.readline("# #{ prompt } #{ default.nil? ? '' : "[default: #{ default }]:" } ".green)
+ choice = Readline.readline("# #{ prompt }#{ default.nil? ? ':' : " [default: #{ default }]:" } ".green)
if choice.empty?
r = default
else
r = choice
end