Skip to content

Commit 5e73fe3

Browse files
committed
changed args to match style of other ones
1 parent 17536aa commit 5e73fe3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/docsplit/command_line.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ def parse_options
9898
@options[:language] = l
9999
@options[:clean] = false
100100
end
101+
opts.on('-n', '--no-orientation-detection', 'turn off automatic orientation detection in tesseract') do |r|
102+
@options[:nod] = true
103+
end
101104
opts.on('-r', '--rolling', 'generate images from each previous image') do |r|
102105
@options[:rolling] = true
103106
end
104-
opts.on('-nod', '--no-orientation-detection', 'turn off automatic orientation detection in tesseract') do |r|
105-
@options[:nod] = true
106-
end
107107
opts.on_tail('-v', '--version', 'display docsplit version') do
108108
puts "Docsplit version #{Docsplit::VERSION}"
109109
exit

0 commit comments

Comments
 (0)