summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2000-02-22 17:59:23 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2000-02-22 17:59:23 (GMT)
commit6199c59bbb8c560848b17ec9dc3c94f78c043e1a (patch)
treed68505f74562ba7336d6e80c7a914f1ce468f21e /bin
parent68bf4cc74bb308fc6ef670c53e3c88b2125d96a1 (diff)
downloadhdf5-6199c59bbb8c560848b17ec9dc3c94f78c043e1a.zip
hdf5-6199c59bbb8c560848b17ec9dc3c94f78c043e1a.tar.gz
hdf5-6199c59bbb8c560848b17ec9dc3c94f78c043e1a.tar.bz2
[svn-r1984] Use one big cat to the help message (instead of the old way of echo)
because the messages are getting really big (my fault).
Diffstat (limited to 'bin')
-rwxr-xr-xbin/snapshot52
1 files changed, 29 insertions, 23 deletions
diff --git a/bin/snapshot b/bin/snapshot
index a5fef03..5bf1931 100755
--- a/bin/snapshot
+++ b/bin/snapshot
@@ -118,29 +118,35 @@ done
if [ "$cmd" = help ]; then
set -
- echo "Usage: $0 [all] [checkout] [test] [srcdir] [release] [help] [hdf4 <hdf4lib_path>] [archive <arch_path>] [dir <dir>] [op-configure <option>]"
- echo " all: Run all commands (checkout, test & release)"
- echo " [Default is all]"
- echo " checkout: Run cvs checkout"
- echo " test: Run test"
- echo " release: Run release"
- echo " srcdir: Use srcdir option (does not imply other commands)"
- echo ' "snapshot srcdir" is equivalent to "snapshot srcdir all"'
- echo ' "snapshot srcdir checkout" is equivalent to "snapshot checkout"'
- echo " srcdirname <dir>:"
- echo " Use <dir> as the srcdir testing directory if srcdir is choosen."
- echo " If <dir> starts with '-', it is append to the default name"
- echo ' E.g., "snapshot srcdir srcdirname -xx" uses hostname-xx'
- echo " [Default is hostname]"
- echo " help: Print this message"
- echo " hdf4 <hdf4lib_path>:"
- echo " Use <hdf4lib_path> as the HDF4LIB locations"
- echo " [Default is $HDF4LIB_default]"
- echo " archive <arch_path>:"
- echo " Use <arch_path> as the release ARCHIVE area"
- echo " [Default is $ARCHIVES_default]"
- echo " op-configure <option>:"
- echo " Pass <option> to the configure command"
+ cat <<EOF
+Usage: $0 [all] [checkout] [test] [srcdir] [release] [help]
+ [hdf4 <hdf4lib_path>] [archive <arch_path>] [dir <dir>]
+ [op-configure <option>]
+ all: Run all commands (checkout, test & release)
+ [Default is all]
+ checkout: Run cvs checkout
+ test: Run test
+ release: Run release
+ srcdir: Use srcdir option (does not imply other commands)
+ "snapshot srcdir" is equivalent to "snapshot srcdir all"
+ "snapshot srcdir checkout" is equivalent to "snapshot checkout"
+ srcdirname <dir>:
+ Use <dir> as the srcdir testing directory if srcdir is choosen.
+ If <dir> starts with '-', it is append to the default name
+ E.g., "snapshot srcdir srcdirname -xx" uses hostname-xx
+ [Default is hostname]
+ help: Print this message
+ hdf4 <hdf4lib_path>:
+ Use <hdf4lib_path> as the HDF4LIB locations
+ [Default is $HDF4LIB_default]
+ archive <arch_path>:
+ Use <arch_path> as the release ARCHIVE area
+ [Default is $ARCHIVES_default]
+ op-configure <option>:
+ Pass <option> to the configure command
+ E.g., "snapshot op-configure --enable-parallel"
+ configures for parallel mode
+EOF
exit $errcode
fi