diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2023-04-15 02:31:21 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-15 02:31:21 -0600 |
| commit | b56eca8be9fe3f9a25065dc7402713d08323a9ab (patch) | |
| tree | 6dac83ea658137167659713f9ebb34ce177feb60 /lib | |
| parent | b1d2f7101b513414ade941d0f3c8cebc913c8452 (diff) | |
resolves #4425 don't split value of -r CLI option (PR #4432)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/asciidoctor/cli/options.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asciidoctor/cli/options.rb b/lib/asciidoctor/cli/options.rb index bc4e46c6..b6476da2 100644 --- a/lib/asciidoctor/cli/options.rb +++ b/lib/asciidoctor/cli/options.rb @@ -127,7 +127,7 @@ module Asciidoctor end opts.on '-rLIBRARY', '--require LIBRARY', 'require the specified library before executing the processor (using require)', 'may be specified more than once' do |path| - (self[:requires] ||= []).concat path.split ',' + (self[:requires] ||= []) << path end opts.on '--log-level LEVEL', %w(debug DEBUG info INFO warning WARNING error ERROR fatal FATAL), 'set minimum level of log messages that get logged: [DEBUG, INFO, WARN, ERROR, FATAL] (default: WARN)' do |level| level = 'WARN' if (level = level.upcase) == 'WARNING' |
