From 1b43f7d48f27d69f64d909ee63c190a2782497d2 Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Sun, 11 Oct 2020 08:29:02 +0900 Subject: [PATCH] Add comment about pass --- lib/uplot/command/parser.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/uplot/command/parser.rb b/lib/uplot/command/parser.rb index a3eb565..e693533 100644 --- a/lib/uplot/command/parser.rb +++ b/lib/uplot/command/parser.rb @@ -26,7 +26,8 @@ module Uplot OptionParser.new do |opt| opt.program_name = 'uplot' 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 end opt.on('-o', '--output VAL', 'file to output results to [stderr]') do |v|