From 46fab6941698d1e8f8c68cf124bc680dee11f0d4 Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Mon, 19 Nov 2007 15:13:56 -0500 Subject: [svn-r14268] enhancement: commnents and correct syntax for h5repack options tested: linux --- tools/h5diff/h5diff_main.c | 3 +++ tools/h5repack/h5repack_main.c | 10 ++++++---- 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 , --compact= Maximum number of links in header messages\n"); - printf(" -i , --indexed= Minimum number of links in the indexed format\n"); - printf(" -s , --ssize= 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"); -- cgit v0.12