Improve hist closed options desc

This commit is contained in:
kojix2 2021-01-19 15:14:57 +09:00
parent 68101d31cb
commit 9fcb647aa5
2 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@ Usage: uplot histogram [options] <in.tsv>
Options for histogram:
--symbol VAL character to be used to plot the bars
--closed VAL
--closed VAL side of the intervals to be closed [left]
-n, --nbins VAL approximate number of bins
Options:

View File

@ -183,7 +183,7 @@ module YouPlot
parser.on_head('-n', '--nbins VAL', Numeric, 'approximate number of bins') do |v|
params.nbins = v
end
parser.on_head('--closed VAL', String) do |v|
parser.on_head('--closed VAL', String, 'side of the intervals to be closed [left]') do |v|
params.closed = v
end
parser.on_head('--symbol VAL', String, 'character to be used to plot the bars') do |v|