diff --git a/tool/downloader.rb b/tool/downloader.rb index b623bc3766a6ec..59bfd55f17c192 100644 --- a/tool/downloader.rb +++ b/tool/downloader.rb @@ -424,8 +424,8 @@ def self.with_retry(max_times, &block) when '-u', '--update', '--if-modified' ## -u, --update, --if-modified Download newer files only. since = true - when '-n', '--dryrun' - ## -n, --dryrun Do not download actually. + when '-n', '--dry-run', '--dryrun' + ## -n, --dry-run Do not download actually. options[:dryrun] = true when '--cache-dir' ## --cache-dir DIRECTORY Cache downloaded files in the directory. diff --git a/tool/outdate-bundled-gems.rb b/tool/outdate-bundled-gems.rb index 5422aec4546026..c82d31d743da65 100755 --- a/tool/outdate-bundled-gems.rb +++ b/tool/outdate-bundled-gems.rb @@ -9,8 +9,8 @@ when '--' ARGV.shift break - when '-n', '--dryrun' - ## -n, --dryrun Don't remove + when '-n', '--dry-run', '--dryrun' + ## -n, --dry-run Don't remove fu = FileUtils::DryRun when /\A--make=/ # just to run when `make -n`