module Rufo::Command
def self.parse_options
def self.parse_options want_check = false OptionParser.new do |opts| opts.banner = "Usage: rufo files or dirs [options]" opts.on("-c", "--check", "Only check formating changes") do want_check = true end opts.on("-h", "--help", "Show this help") do puts opts exit end end.parse! want_check end