bin/review-check in review-0.6.0 vs bin/review-check in review-0.9.0
- old
+ new
@@ -44,10 +44,10 @@
@param["outencoding"] = enc
}
parser.on('-a', '--all-chapters', 'Check all chapters.') {
files = ReVIEW.book.chapters.map {|ent| ent.path }
}
- parser.on('-s', '--section N', 'Check section N.') {|n|
+ parser.on('-s', '--section N', 'Check section N. (deprecated)') {|n|
ents = ReVIEW.env.parts[Integer(n) - 1] or
raise ReVIEW::ApplicationError, "section #{n} not exist"
files = ents.map {|ent| ent.path }
}
parser.on('--text', 'Check text.') {