Skip to content

Commit e34345b

Browse files
committed
Restore --inline-source
1 parent 6d89db2 commit e34345b

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

History.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
* N Bug Fixes
44
* Don't complain when exiting normally. Bug by Matt Neuburg.
5+
* Restore --inline-source that warns.
56

67
=== 2.4.0 / 2009-02-24
78

lib/rdoc/options.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,16 @@ def parse(argv)
403403
"'\%s', the filename will be appended to it.") do |value|
404404
@webcvs = value
405405
end
406+
407+
opt.separator nil
408+
409+
opt.separator 'Deprecated options - these warn when set'
410+
411+
opt.separator nil
412+
413+
opt.on("--inline-source", "-S") do |value|
414+
warn "--inline-source will be removed from RDoc on or after August 2009"
415+
end
406416
end
407417

408418
argv.insert(0, *ENV['RDOCOPT'].split) if ENV['RDOCOPT']

0 commit comments

Comments
 (0)