diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-10-29 20:11:51 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-10-29 20:11:51 (GMT) |
commit | 8f00f520ffc4a07aed58ae7c1cb75aefea832f6d (patch) | |
tree | 5cdc7b00115f889cbfae37b0e3bb39fe21afd7e0 /tools/testfiles | |
parent | 61af8db951144e0795165df6a198a6ba4bbafef3 (diff) | |
download | hdf5-8f00f520ffc4a07aed58ae7c1cb75aefea832f6d.zip hdf5-8f00f520ffc4a07aed58ae7c1cb75aefea832f6d.tar.gz hdf5-8f00f520ffc4a07aed58ae7c1cb75aefea832f6d.tar.bz2 |
[svn-r15991] Merge with 1.8 rev 15969
Introduced a new feature in the tools library regarding command line parsing
In the definition of arguments, an "*" means that the switch can or can not have an optional argument. This "*" is put in the code regarding the letter definition, and it is transparent to the user (e.g b* instead of the previous b: ), where ":" notes a required argument after the letter (and no ":" or "*" notes no argument, mandatory)
Used for the h5dump binary option -b
It can be now
1) -b (defaults to NATIVE)
2) - b NATIVE
3) - b FILE
4) -b LE
5) -b BE
Note: the keyword NATIVE replaces MEMORY
This feature (-b with no argument) was tested with the sequence of h5dump to binary (NATIVE) then h5import to generate an HDF5 file from the binary file and h5diff to compare the 2 HDF5 files
Tested: linux
Diffstat (limited to 'tools/testfiles')
-rw-r--r-- | tools/testfiles/tnofilename.ddl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testfiles/tnofilename.ddl b/tools/testfiles/tnofilename.ddl index 756b88f..5b5854d 100644 --- a/tools/testfiles/tnofilename.ddl +++ b/tools/testfiles/tnofilename.ddl @@ -58,10 +58,10 @@ usage: h5dump [OPTIONS] file number of dimensions in the dataspace being queried U - is a URI reference (as defined in [IETF RFC 2396], updated by [IETF RFC 2732]) - B - is the form of binary output: MEMORY for a memory type, FILE for the + B - is the form of binary output: NATIVE for a memory type, FILE for the file type, LE or BE for pre-existing little or big endian types. Must be used with -o (output file) and it is recommended that - -d (dataset) is used + -d (dataset) is used. B is an optional argument, defaults to NATIVE Q - is the sort index type. It can be "creation_order" or "name" (default) Z - is the sort order type. It can be "descending" or "ascending" (default) |