From 11cf7ade0867c349de33c125f34d04de127dad54 Mon Sep 17 00:00:00 2001 From: Kevin Ernst Date: Fri, 31 Jul 2020 11:49:44 -0400 Subject: [PATCH] Print '--version', '--help' to stdout instead --- eplot | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eplot b/eplot index 428fef9..7e020ab 100755 --- a/eplot +++ b/eplot @@ -153,8 +153,8 @@ class OptionController usage when /^-v$|^--version$/ - $stderr.puts "eplot version "+$Version - $stderr.puts $licence + puts "eplot version "+$Version + puts $licence exit 0 # ---- Do we create PNG output? @@ -321,8 +321,8 @@ class OptionController # -------------------------------------------------------------------------- # ---- writes the usage message def usage - $stderr.printf "usage: %s [ options ]\n",$0 - $stderr.printf "\n%s\n",$help + printf "usage: %s [ options ]\n",$0 + printf "\n%s\n",$help exit 0 end