diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-08-18 13:48:12 +0900 |
---|---|---|
committer | git <[email protected]> | 2021-09-03 19:13:15 +0900 |
commit | 76c7388c1f41fb0ae3dacda0d9c02e7562a6655d (patch) | |
tree | 8a6100bacc26905c6a3a74098d3d8174d929a667 /lib/rdoc/options.rb | |
parent | 33676a7aa6a9f10c72a811f4b6b6ad08958f2bca (diff) |
[ruby/rdoc] Add tests for `--template-stylesheets` option
Also flattens `@options.template_stylesheets` when parsing the
command lines.
Fixes #205
Fixes #828 too
https://github.com/ruby/rdoc/commit/857002a763
Diffstat (limited to 'lib/rdoc/options.rb')
-rw-r--r-- | lib/rdoc/options.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/options.rb b/lib/rdoc/options.rb index 7a45a9c610..792b473b79 100644 --- a/lib/rdoc/options.rb +++ b/lib/rdoc/options.rb @@ -971,7 +971,7 @@ Usage: #{opt.program_name} [options] [names...] opt.on("--template-stylesheets=FILES", PathArray, "Set (or add to) the list of files to", "include with the html template.") do |value| - @template_stylesheets << value + @template_stylesheets.concat value end opt.separator nil |