diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-05-17 15:41:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 15:41:01 (GMT) |
commit | c961ef98ffb21728cb86ae30c3e3d9a3f1053672 (patch) | |
tree | e86051bd5a9155466ce4db05d184273ff5bb0eb3 /tools/test/h5copy/testfiles/h5copy_help2.ddl | |
parent | 560e7d6728f2003784b550530a3424a61ade04d5 (diff) | |
download | hdf5-c961ef98ffb21728cb86ae30c3e3d9a3f1053672.zip hdf5-c961ef98ffb21728cb86ae30c3e3d9a3f1053672.tar.gz hdf5-c961ef98ffb21728cb86ae30c3e3d9a3f1053672.tar.bz2 |
Add h5copy help test and verify consistency (#2902)
* Add autotools test for help
Diffstat (limited to 'tools/test/h5copy/testfiles/h5copy_help2.ddl')
-rw-r--r-- | tools/test/h5copy/testfiles/h5copy_help2.ddl | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/tools/test/h5copy/testfiles/h5copy_help2.ddl b/tools/test/h5copy/testfiles/h5copy_help2.ddl new file mode 100644 index 0000000..418faea --- /dev/null +++ b/tools/test/h5copy/testfiles/h5copy_help2.ddl @@ -0,0 +1,49 @@ + +usage: h5copy [OPTIONS] [OBJECTS...] + OBJECTS + -i, --input input file name + -o, --output output file name + -s, --source source object name + -d, --destination destination object name + ERROR + --enable-error-stack Prints messages from the HDF5 error stack as they occur. + Optional value 2 also prints file open errors. + OPTIONS + -h, --help Print a usage message and exit + -p, --parents No error if existing, make parent groups as needed + -v, --verbose Print information about OBJECTS and OPTIONS + -V, --version Print version number and exit + -f, --flag Flag type + + Flag type is one of the following strings: + + shallow Copy only immediate members for groups + + soft Expand soft links into new objects + + ext Expand external links into new objects + + ref Copy references and any referenced objects, i.e., objects + that the references point to. + Referenced objects are copied in addition to the objects + specified on the command line and reference datasets are + populated with correct reference values. Copies of referenced + datasets outside the copy range specified on the command line + will normally have a different name from the original. + (Default:Without this option, reference value(s) in any + reference datasets are set to NULL and referenced objects are + not copied unless they are otherwise within the copy range + specified on the command line.) + + noattr Copy object without copying attributes + + allflags Switches all flags from the default to the non-default setting + + These flag types correspond to the following API symbols + + H5O_COPY_SHALLOW_HIERARCHY_FLAG + H5O_COPY_EXPAND_SOFT_LINK_FLAG + H5O_COPY_EXPAND_EXT_LINK_FLAG + H5O_COPY_EXPAND_REFERENCE_FLAG + H5O_COPY_WITHOUT_ATTR_FLAG + H5O_COPY_ALL |