From 6a35d4c3068ad31f7904c37a58c90b4a071ac5ba Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Mon, 16 Oct 2006 11:53:51 -0500 Subject: [svn-r12762] rewrote the -b option to make it more clear --- tools/h5dump/h5dump.c | 9 ++++----- tools/testfiles/tnofilename.ddl | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c index 75bd162..3f51f81 100644 --- a/tools/h5dump/h5dump.c +++ b/tools/h5dump/h5dump.c @@ -611,11 +611,10 @@ usage(const char *prog) fprintf(stdout, " -g P, --group=P Print the specified group and all members\n"); fprintf(stdout, " -l P, --soft-link=P Print the value(s) of the specified soft link\n"); fprintf(stdout, " -o F, --output=F Output raw data into file F\n"); - fprintf(stdout, " -b F, --binary=F Binary output, of form F (into file -o F).\n"); - fprintf(stdout, " Recommended usage is with --dataset=P\n"); - fprintf(stdout, " Form F of binary output is: MEMORY for memory type,\n"); - fprintf(stdout, " FILE for the disk file type, LE or BE for pre-existing\n"); - fprintf(stdout, " little or big endian types\n"); + fprintf(stdout, " -b B, --binary=B Binary file output, of form B. Recommended usage is\n"); + fprintf(stdout, " with -o (output file) and -d (dataset). B can be:\n"); + fprintf(stdout, " MEMORY for a memory type, FILE for the file type,\n"); + fprintf(stdout, " LE or BE for pre-existing little or big endian types\n"); fprintf(stdout, " -t P, --datatype=P Print the specified named data type\n"); fprintf(stdout, " -w N, --width=N Set the number of columns of output\n"); fprintf(stdout, " -x, --xml Output in XML using Schema\n"); diff --git a/tools/testfiles/tnofilename.ddl b/tools/testfiles/tnofilename.ddl index b234d4f..054a829 100644 --- a/tools/testfiles/tnofilename.ddl +++ b/tools/testfiles/tnofilename.ddl @@ -21,11 +21,10 @@ usage: h5dump [OPTIONS] file -g P, --group=P Print the specified group and all members -l P, --soft-link=P Print the value(s) of the specified soft link -o F, --output=F Output raw data into file F - -b F, --binary=F Binary output, of form F (into file -o F). - Recommended usage is with --dataset=P - Form F of binary output is: MEMORY for memory type, - FILE for the disk file type, LE or BE for pre-existing - little or big endian types + -b B, --binary=B Binary file output, of form B. Recommended usage is + with -o (output file) and -d (dataset). B can be: + MEMORY for a memory type, FILE for the file type, + LE or BE for pre-existing little or big endian types -t P, --datatype=P Print the specified named data type -w N, --width=N Set the number of columns of output -x, --xml Output in XML using Schema -- cgit v0.12