summaryrefslogtreecommitdiff
path: root/lib/rdoc/options.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-28 14:45:44 +0900
committeraycabta <aycabta@gmail.com>2020-09-18 14:57:58 +0900
commite23f0f29daa45f69ef78b174340c747ac09bfb60 (patch)
treedd5191d06314d6812f3a4eb0b3a4777f63adee64 /lib/rdoc/options.rb
parentb5db9b8a314249adee021ba6a426c6a2ebbc6804 (diff)
[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. https://github.com/ruby/rdoc/commit/13e9a44896
Diffstat (limited to 'lib/rdoc/options.rb')
-rw-r--r--lib/rdoc/options.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/options.rb b/lib/rdoc/options.rb
index 43494c85be4..13c1abae0ad 100644
--- a/lib/rdoc/options.rb
+++ b/lib/rdoc/options.rb
@@ -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