Add comment about pass

This commit is contained in:
kojix2 2020-10-11 08:29:02 +09:00
parent d8396fecf9
commit 1b43f7d48f

View File

@ -26,7 +26,8 @@ module Uplot
OptionParser.new do |opt| OptionParser.new do |opt|
opt.program_name = 'uplot' opt.program_name = 'uplot'
opt.version = Uplot::VERSION opt.version = Uplot::VERSION
opt.on('-O', '--pass [VAL]', 'file to output standard input data to [stdout]') do |v| opt.on('-O', '--pass [VAL]', 'file to output standard input data to [stdout]',
'For inserting uplot in the middle of a Unix pipeline operation') do |v|
@pass = v || $stdout @pass = v || $stdout
end end
opt.on('-o', '--output VAL', 'file to output results to [stderr]') do |v| opt.on('-o', '--output VAL', 'file to output results to [stderr]') do |v|