mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-09-16 16:18:11 +08:00
Improved border desc
This commit is contained in:
@@ -70,7 +70,8 @@ module YouPlot
|
||||
parser.on('-h', '--height INT', Numeric, 'number of rows') do |v|
|
||||
params.height = v
|
||||
end
|
||||
parser.on('-b', '--border STR', String, 'specify the style of the bounding box') do |v|
|
||||
border_options = UnicodePlot::BORDER_MAP.keys.join(', ')
|
||||
parser.on('-b', '--border STR', String, 'specify the style of the bounding box', "(#{border_options})") do |v|
|
||||
params.border = v.to_sym
|
||||
end
|
||||
parser.on('-m', '--margin INT', Numeric, 'number of spaces to the left of the plot') do |v|
|
||||
|
Reference in New Issue
Block a user