summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/testfiles/tnofilename.ddl21
1 files changed, 13 insertions, 8 deletions
diff --git a/tools/testfiles/tnofilename.ddl b/tools/testfiles/tnofilename.ddl
index 85aae8a..543c5d8 100644
--- a/tools/testfiles/tnofilename.ddl
+++ b/tools/testfiles/tnofilename.ddl
@@ -7,24 +7,25 @@ usage: h5dump [OPTIONS] file
-n, --contents Print a list of the file contents and exit
-B, --bootblock Print the content of the boot block
-H, --header Print the header only; no data is displayed
- -A Print the header and value of attributes; data of datasets is not displayed
+ -A, --onlyattr Print the header and value of attributes; data
+ of datasets is not displayed
-i, --object-ids Print the object ids
-r, --string Print 1-byte integer datasets as ASCII
- -e, Escape non printing characters
+ -e, --escape Escape non printing characters
-V, --version Print version number and exit
-a P, --attribute=P Print the specified attribute
-d P, --dataset=P Print the specified dataset
- -y Do not print array indices with the data
+ -y, --noindex Do not print array indices with the data
-p, --properties Print dataset filters, storage layout and fill value
-f D, --filedriver=D Specify which driver to open the file with
-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 Output raw data into file F in binary form (use with -d)
- -F T Form of binary output (T can be NA for native type,
- DI for the disk file type, LE or BE for pre-existing little or big endian types)
- E.g., to dump a dataset called 'integer' in a file called `test1.h5', use
- h5dump -b bin.out -F LE -d integer test1.h5
+ -b F, --binary=F Output raw data into file F in binary form
+ (recommended usage is with --dataset=P)
+ -F T, --form=T Form of binary output. T is: NA for native type,
+ DI for the disk 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
@@ -69,4 +70,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
+
+ h5dump -d /dset -b out.bin -F LE quux.h5
+
h5dump error: missing file name