exe/helpline in helpline-0.1.12 vs exe/helpline in helpline-0.1.13

- old
+ new

@@ -144,15 +144,15 @@ end } res = g.generate " #{ARGV.join(' ').sub(/\[/,'').sub(/\]/,'')} " + File.open("/tmp/helpline.cmd","w"){ |f| + f.puts ARGV.join(' ') + } if res[0].length == 0 puts "ヘルプがみつかりません" - File.open("/tmp/helpline.cmd","w"){ |f| - f.puts ARGV.join(' ') - } exit end git_repository = File.exist?(".git") listed = {} @@ -170,10 +170,9 @@ } # # HelpLineメニュー表示し、カーソル移動で選択 # - help_number = {} list.each_with_index { |entry,ind| entry[0].sub!(/\s*{(\d*)}$/,'') entry[1].sub!(/\s*{(\d*)}$/,'') help_number[entry[0]] = $1.to_i