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