From a7bb75e87d9ff5b7b0b5fc4b17d3c2693ef569ab Mon Sep 17 00:00:00 2001 From: KIKISeries <82991821+KIKISeries@users.noreply.github.com> Date: Wed, 14 Jul 2021 09:51:22 +0900 Subject: [PATCH] Fix a typo S -> s --- lib/youplot/parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/youplot/parser.rb b/lib/youplot/parser.rb index c073828..7832d32 100644 --- a/lib/youplot/parser.rb +++ b/lib/youplot/parser.rb @@ -95,7 +95,7 @@ module YouPlot parser.on('-M', '--monochrome', TrueClass, 'no colouring even if writing to a tty') do |_v| UnicodePlot::IOContext.define_method(:color?) { false } # FIXME end - parser.on('--encoding STR', String, 'Specify the input encoding') do |v| + parser.on('--encoding STR', String, 'specify the input encoding') do |v| options[:encoding] = v end # Optparse adds the help option, but it doesn't show up in usage.