Use spaces, not tabs.
This commit is contained in:
parent
4fa61ea14a
commit
c1837853d6
@ -35,8 +35,8 @@ options = {}
|
|||||||
ARGV.options { |o|
|
ARGV.options { |o|
|
||||||
o.program_name = File.basename($0)
|
o.program_name = File.basename($0)
|
||||||
o.on("-o", "--output=DIR") { |dir| output_dir = dir }
|
o.on("-o", "--output=DIR") { |dir| output_dir = dir }
|
||||||
o.on("-l", "--language=LANG") { |lang| options[:language] = lang }
|
o.on("-l", "--language=LANG") { |lang| options[:language] = lang }
|
||||||
o.on("-c", "--comment-chars=CHARS") { |chars| options[:comment_chars] = Regexp.escape(chars) }
|
o.on("-c", "--comment-chars=CHARS") { |chars| options[:comment_chars] = Regexp.escape(chars) }
|
||||||
o.on_tail("-h", "--help") { usage($stdout, 0) }
|
o.on_tail("-h", "--help") { usage($stdout, 0) }
|
||||||
o.parse!
|
o.parse!
|
||||||
} or abort_with_note
|
} or abort_with_note
|
||||||
|
Loading…
Reference in New Issue
Block a user