From ec0d157a95498539a3e0aa9895a36ea3b74cc241 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 6a70d34..fc0944c 100644 --- a/lib/youplot/parser.rb +++ b/lib/youplot/parser.rb @@ -144,7 +144,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.