summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2007-11-19 18:46:59 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2007-11-19 18:46:59 (GMT)
commitf0e99ad5d034d7a453b77d37e7a8495ab2f3cc23 (patch)
treee104b670412fceb302b1c0b8129fd7f3cedd2772
parent27e823f08b9c3dfa303ea9bdee9244cb493b5ae6 (diff)
downloadhdf5-f0e99ad5d034d7a453b77d37e7a8495ab2f3cc23.zip
hdf5-f0e99ad5d034d7a453b77d37e7a8495ab2f3cc23.tar.gz
hdf5-f0e99ad5d034d7a453b77d37e7a8495ab2f3cc23.tar.bz2
[svn-r14266] enhancement: format usage message
tested: linux
-rw-r--r--tools/h5dump/h5dump.c3
-rw-r--r--tools/testfiles/tnofilename.ddl3
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c
index dcc6663..c69c5d70 100644
--- a/tools/h5dump/h5dump.c
+++ b/tools/h5dump/h5dump.c
@@ -678,7 +678,8 @@ usage(const char *prog)
fprintf(stdout, "\n");
fprintf(stdout, " h5dump -d /foo -s \"0,1\" -S \"1,1\" -c \"2,3\" -k \"2,2\" quux.h5\n");
fprintf(stdout, "\n");
- fprintf(stdout, " 3) Saving dataset 'dset' in file quux.h5 to binary file 'out.bin' using a little-endian type \n");
+ fprintf(stdout, " 3) Saving dataset 'dset' in file quux.h5 to binary file 'out.bin'\n");
+ fprintf(stdout, " using a little-endian type\n");
fprintf(stdout, "\n");
fprintf(stdout, " h5dump -d /dset -b LE -o out.bin quux.h5\n");
fprintf(stdout, "\n");
diff --git a/tools/testfiles/tnofilename.ddl b/tools/testfiles/tnofilename.ddl
index a3625bf..bae9f79 100644
--- a/tools/testfiles/tnofilename.ddl
+++ b/tools/testfiles/tnofilename.ddl
@@ -73,7 +73,8 @@ usage: h5dump [OPTIONS] file
h5dump -d /foo -s "0,1" -S "1,1" -c "2,3" -k "2,2" quux.h5
- 3) Saving dataset 'dset' in file quux.h5 to binary file 'out.bin' using a little-endian type
+ 3) Saving dataset 'dset' in file quux.h5 to binary file 'out.bin'
+ using a little-endian type
h5dump -d /dset -b LE -o out.bin quux.h5