mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-06 15:11:12 +08:00
Fix order
This commit is contained in:
parent
f2b7b94a09
commit
a5cdc94bb0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user