Sha256: 963d097a448734cba9f2f501c0c3b73a76e2dc23cadfbfcef225d984f05a1573
Contents?: true
Size: 1.01 KB
Versions: 14
Compression:
Stored size: 1.01 KB
Contents
module Redcar class Usage def version_string str = "Redcar #{Redcar::VERSION} ( #{RUBY_PLATFORM} )" puts str end def version_requested if ARGV.include?("-v") puts "Redcar #{Redcar::VERSION}" exit end end def help_requested if ARGV.include?("-h") or ARGV.include?("--help") puts puts "Usage: redcar [OPTIONS] [FILE|DIR]*" puts puts " --multiple-instance Don't attempt to open files and dirs in an already running instance" puts " --debug JRuby debugging mode: activates the profiling commands in the Debug menu" puts "--untitled-file=PATH Open the given file as an untitled tab." puts " --ignore-stdin Ignore stdin." puts " --fork Detach from the console." #puts "To associate with right click in windows explorer:" #puts #puts " C:> redcar --associate_with_any_right_click" #puts exit end end end end
Version data entries
14 entries across 14 versions & 1 rubygems