summaryrefslogtreecommitdiffstats
path: root/bin/snapshot
diff options
context:
space:
mode:
Diffstat (limited to 'bin/snapshot')
-rwxr-xr-xbin/snapshot9
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/snapshot b/bin/snapshot
index 02d3b83..4a5d668 100755
--- a/bin/snapshot
+++ b/bin/snapshot
@@ -102,6 +102,9 @@ while [ $# -gt 0 ] ; do
fi
ARCHIVES="$1"
;;
+ --*)
+ OP_CONFIGURE="$OP_CONFIGURE $1"
+ ;;
op-configure)
shift
if [ $# -lt 1 ]; then
@@ -127,7 +130,7 @@ if [ "$cmd" = help ]; then
cat <<EOF
Usage: $0 [all] [checkout] [test] [srcdir] [release] [help]
[hdf4 <hdf4lib_path>] [archive <arch_path>] [dir <dir>]
- [op-configure <option>]
+ [op-configure <option>] [--<option>]
all: Run all commands (checkout, test & release)
[Default is all]
checkout: Run cvs checkout
@@ -154,6 +157,10 @@ Usage: $0 [all] [checkout] [test] [srcdir] [release] [help]
Pass <option> to the configure command
E.g., "snapshot op-configure --enable-parallel"
configures for parallel mode
+ --<option>:
+ Pass --<option> to the configure command
+ E.g., "snapshot --enable-parallel"
+ configures for parallel mode
EOF
exit $errcode
fi