summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-10-16 16:53:51 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-10-16 16:53:51 (GMT)
commit6a35d4c3068ad31f7904c37a58c90b4a071ac5ba (patch)
tree6c37a089ecc89233636227e0bda097a903ce8d06
parent9848ea0387c08ecffa4e97c5d880b4253e059dbc (diff)
downloadhdf5-6a35d4c3068ad31f7904c37a58c90b4a071ac5ba.zip
hdf5-6a35d4c3068ad31f7904c37a58c90b4a071ac5ba.tar.gz
hdf5-6a35d4c3068ad31f7904c37a58c90b4a071ac5ba.tar.bz2
[svn-r12762]
rewrote the -b option to make it more clear
-rw-r--r--tools/h5dump/h5dump.c9
-rw-r--r--tools/testfiles/tnofilename.ddl9
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