From a5cdc94bb07d3d46e5bc770acf9682179745ec4a Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Sun, 13 Dec 2020 23:46:25 +0900 Subject: [PATCH] Fix order --- lib/youplot/command/parser.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/youplot/command/parser.rb b/lib/youplot/command/parser.rb index ece488b..c9370c1 100644 --- a/lib/youplot/command/parser.rb +++ b/lib/youplot/command/parser.rb @@ -21,8 +21,9 @@ module YouPlot @output = $stderr @fmt = 'xyy' @encoding = nil - @debug = false @color_names = false + + @debug = false end def create_default_parser @@ -79,6 +80,9 @@ module YouPlot opt.on('--[no-]labels', TrueClass, 'hide the labels') do |v| params.labels = v end + opt.on('--progress', TrueClass, 'progressive') do |v| + @progressive = v + end opt.on('--encoding VAL', String, 'Specify the input encoding') do |v| @encoding = v end