From 8d6d9158f2aca236a95d0a60f6ac3c4027bfed8d Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Tue, 19 Jan 2021 16:16:03 +0900 Subject: [PATCH] Fix options desc --- lib/youplot/command/parser.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/youplot/command/parser.rb b/lib/youplot/command/parser.rb index 83950f3..0da3536 100644 --- a/lib/youplot/command/parser.rb +++ b/lib/youplot/command/parser.rb @@ -43,7 +43,7 @@ module YouPlot 'If no option is specified, plot will print to stderr') do |v| @options[:output] = v || $stdout end - opt.on('-d', '--delimiter STR', String, 'use DELIM instead of TAB for field delimiter') do |v| + opt.on('-d', '--delimiter DELIM', String, 'use DELIM instead of [TAB] for field delimiter') do |v| @options[:delimiter] = v end opt.on('-H', '--headers', TrueClass, 'specify that the input has header row') do |v| @@ -208,7 +208,7 @@ module YouPlot parser.on_head('--canvas STR', String) do |v| params.canvas = v end - parser.on_head('--xlim FLOAT,FLOAT', Array, 'plotting range for the x coordinate (eg. ') do |v| + parser.on_head('--xlim FLOAT,FLOAT', Array, 'plotting range for the x coordinate') do |v| params.xlim = v.take(2) end parser.on_head('--ylim FLOAT,FLOAT', Array, 'plotting range for the y coordinate') do |v|