summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2010-03-24 21:04:39 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2010-03-24 21:04:39 (GMT)
commite7568c0719cf3cf12a5488078cb7587189ca7d92 (patch)
tree978422106868016f68b93dba4d7578e819cd483a
parenta4dad549967a4ae9a959053876789cde6cb5daa4 (diff)
downloadhdf5-e7568c0719cf3cf12a5488078cb7587189ca7d92.zip
hdf5-e7568c0719cf3cf12a5488078cb7587189ca7d92.tar.gz
hdf5-e7568c0719cf3cf12a5488078cb7587189ca7d92.tar.bz2
[svn-r18448] Purpose:
Bug1727 - NPOESS: h5copy should copy region references Description: Merged from hdf5 trunk r18447. Tested and added test cases from previous checkin r18321 Reference Manual and tool's usage section for '-f ref' option is updated for more comprehensibility. Tested: jam
-rw-r--r--tools/h5copy/h5copy.c20
1 files changed, 15 insertions, 5 deletions
diff --git a/tools/h5copy/h5copy.c b/tools/h5copy/h5copy.c
index 2d5b95d..8733cbf 100644
--- a/tools/h5copy/h5copy.c
+++ b/tools/h5copy/h5copy.c
@@ -90,11 +90,21 @@ usage: h5copy [OPTIONS] [OBJECTS...]\n\
-V, --version Print version number and exit\n\
-f, --flag Flag type\n\n\
Flag type is one of the following strings:\n\n\
- shallow Copy only immediate members for groups\n\
- soft Expand soft links into new objects\n\
- ext Expand external links into new objects\n\
- ref Copy objects that are pointed by references\n\
- noattr Copy object without copying attributes\n\
+ shallow Copy only immediate members for groups\n\n\
+ soft Expand soft links into new objects\n\n\
+ ext Expand external links into new objects\n\n\
+ ref Copy references and any referenced objects, i.e., objects\n\
+ that the references point to.\n\
+ Referenced objects are copied in addition to the objects\n\
+ specified on the command line and reference datasets are\n\
+ populated with correct reference values. Copies of referenced\n\
+ datasets outside the copy range specified on the command line\n\
+ will normally have a different name from the original.\n\
+ (Default:Without this option, reference value(s) in any\n\
+ reference datasets are set to NULL and referenced objects are\n\
+ not copied unless they are otherwise within the copy range\n\
+ specified on the command line.)\n\n\
+ noattr Copy object without copying attributes\n\n\
allflags Switches all flags from the default to the non-default setting\n\n\
These flag types correspond to the following API symbols\n\n\
H5O_COPY_SHALLOW_HIERARCHY_FLAG\n\