Fix order

This commit is contained in:
kojix2 2020-12-13 23:46:25 +09:00
parent f2b7b94a09
commit a5cdc94bb0

View File

@ -21,8 +21,9 @@ module YouPlot
@output = $stderr @output = $stderr
@fmt = 'xyy' @fmt = 'xyy'
@encoding = nil @encoding = nil
@debug = false
@color_names = false @color_names = false
@debug = false
end end
def create_default_parser def create_default_parser
@ -79,6 +80,9 @@ module YouPlot
opt.on('--[no-]labels', TrueClass, 'hide the labels') do |v| opt.on('--[no-]labels', TrueClass, 'hide the labels') do |v|
params.labels = v params.labels = v
end end
opt.on('--progress', TrueClass, 'progressive') do |v|
@progressive = v
end
opt.on('--encoding VAL', String, 'Specify the input encoding') do |v| opt.on('--encoding VAL', String, 'Specify the input encoding') do |v|
@encoding = v @encoding = v
end end