mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
[ruby/rdoc] update all files if any file is newer
Cross references need parse all files which define the subject
names. This commit makes `--force-update` option enforce to parse
all files if any file is newer than the previous parse, not only
updated files.
13e9a44896
This commit is contained in:
parent
b5db9b8a31
commit
e23f0f29da
3 changed files with 33 additions and 20 deletions
|
@ -755,7 +755,7 @@ Usage: #{opt.program_name} [options] [names...]
|
|||
|
||||
opt.on("--[no-]force-update", "-U",
|
||||
"Forces rdoc to scan all sources even if",
|
||||
"newer than the flag file.") do |value|
|
||||
"no files are newer than the flag file.") do |value|
|
||||
@force_update = value
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue