From e23f0f29daa45f69ef78b174340c747ac09bfb60 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 28 Sep 2019 14:45:44 +0900 Subject: [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 --- lib/rdoc/options.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rdoc/options.rb') diff --git a/lib/rdoc/options.rb b/lib/rdoc/options.rb index 43494c85be..13c1abae0a 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 -- cgit v1.2.3