Skip to content

Commit 81df12a

Browse files
committed
Changed width option from Integer to Numeric
This is to keep consistency with other options
1 parent a8073bc commit 81df12a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/youplot/parser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def create_base_parser
6464
parser.on('-y', '--ylabel STR', String, 'print string on the far left of the plot') do |v|
6565
params.ylabel = v
6666
end
67-
parser.on('-w', '--width INT', Integer, 'number of characters per row') do |v|
67+
parser.on('-w', '--width INT', Numeric, 'number of characters per row') do |v|
6868
params.width = v
6969
end
7070
parser.on('-h', '--height INT', Numeric, 'number of rows') do |v|

0 commit comments

Comments
 (0)