summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2007-11-19 20:13:56 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2007-11-19 20:13:56 (GMT)
commit46fab6941698d1e8f8c68cf124bc680dee11f0d4 (patch)
tree47dc1aba44d08164c8f54c21a92bcb126062902d
parent78898b38c0c8e33a6b9f3af95a7d706ae8c54dcd (diff)
downloadhdf5-46fab6941698d1e8f8c68cf124bc680dee11f0d4.zip
hdf5-46fab6941698d1e8f8c68cf124bc680dee11f0d4.tar.gz
hdf5-46fab6941698d1e8f8c68cf124bc680dee11f0d4.tar.bz2
[svn-r14268] enhancement: commnents and correct syntax for h5repack options
tested: linux
-rw-r--r--tools/h5diff/h5diff_main.c3
-rw-r--r--tools/h5repack/h5repack_main.c10
2 files changed, 9 insertions, 4 deletions
diff --git a/tools/h5diff/h5diff_main.c b/tools/h5diff/h5diff_main.c
index 06d4d11..54a075f 100644
--- a/tools/h5diff/h5diff_main.c
+++ b/tools/h5diff/h5diff_main.c
@@ -58,6 +58,9 @@
* Inclusion of a relative error formula to compare floating
* point numbers in order to deal with floating point uncertainty.
* Printing of dataset dimensions along with dataset name
+ *
+ * November 19, 2007
+ * adopted the syntax h5diff [OPTIONS] file1 file2 [obj1[obj2]]
*
*-------------------------------------------------------------------------
*/
diff --git a/tools/h5repack/h5repack_main.c b/tools/h5repack/h5repack_main.c
index f564b63..49031fa 100644
--- a/tools/h5repack/h5repack_main.c
+++ b/tools/h5repack/h5repack_main.c
@@ -366,7 +366,9 @@ void parse_command_line(int argc,
*
* Modification:
* Peter Cao, June 13, 2007
- * Add "-L, --latest" option to pack a file with the latest file format
+ * Add "-L, --latest" option to pack a file with the latest file format
+ * PVN, November 19, 2007
+ * adopted the syntax h5repack [OPTIONS] file1 file2
*-------------------------------------------------------------------------
*/
int main(int argc, char **argv)
@@ -523,9 +525,9 @@ static void usage(const char *prog)
printf(" -V, --version Print version number and exit\n");
printf(" -n, --native Use a native HDF5 type when repacking\n");
printf(" -L, --latest Use latest version of file format\n");
- printf(" -c <L1>, --compact=<L1> Maximum number of links in header messages\n");
- printf(" -i <L2>, --indexed=<L2> Minimum number of links in the indexed format\n");
- printf(" -s <S:F>, --ssize=<S:F> Set the shared object header message minimum size\n");
+ printf(" -c L1, --compact=L1 Maximum number of links in header messages\n");
+ printf(" -i L2, --indexed=L2 Minimum number of links in the indexed format\n");
+ printf(" -s S[:F], --ssize=S[:F] Shared object header message minimum size\n");
printf(" -m T, --threshold=T Do not apply the filter to objects smaller than T\n");
printf(" -e M, --file=M Name of file M with the -f and -l options\n");
printf(" -f FILT, --filter=FILT Filter type\n");