Fix regexp typo

This commit is contained in:
Jeremy Kemper
2010-04-13 12:06:12 -07:00
parent 7fa6c16b70
commit 4d098327da

View File

@@ -18,7 +18,7 @@ ARGV.clone.options do |opts|
opts.on("-h", "--help",
"Show this help message.") { $stderr.puts opts; exit }
if RUBY_PLATFORM !~ /(:?mswin|mingw)/
if RUBY_PLATFORM !~ /mswin|mingw/
opts.separator ""
opts.separator "You can also use runner as a shebang line for your scripts like this:"
opts.separator "-------------------------------------------------------------"