bin/gpmaxmin in gphys-1.1.1 vs bin/gpmaxmin in gphys-1.2.2
- old
+ new
@@ -4,11 +4,11 @@
gpmaxmin - printing maximum and minimum values of a GPhys variable.
= USAGE
- % gpmaxmin [options] path@varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]]
+ % gpmaxmin [options] path[@|/]varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]]
= OPTIONS
-h, --help : Print this message.
-n, --number : Number of displayed points having max and min values.
@@ -24,20 +24,21 @@
utilize internal function for printing help message.
--all, --index, --number options added.)
2005/08/23 S Takehiro (common methods to gp* command moved to gpcommon.rb)
2006/03/07 M Nakano (USAGE Typo fixed)
2010/03/10 Y SASAKI (change help block into RD format)
+ 2012/02/19 S Takehiro (description for gturl format updated)
=end
require "numru/gphys"
require "numru/gphys/gpcommon"
include NumRu
require "getoptlong"
#------------------------ Default Settings ------------------------
-URLfmt = "path@varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]]"
+URLfmt = "path[@|/]varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]]"
print_maxdefault=5
#---------------------- Option Configuration ----------------------
parser = GetoptLong.new(
["--help", "-h", GetoptLong::NO_ARGUMENT ],