[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:
Nobuyoshi Nakada 2019-09-28 14:45:44 +09:00 committed by aycabta
parent b5db9b8a31
commit e23f0f29da
3 changed files with 33 additions and 20 deletions

View file

@ -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