From 16c244010883ab47da1c8c1c5e90bdaf4d401e58 Mon Sep 17 00:00:00 2001 From: Jonathan Kim Date: Wed, 24 Mar 2010 15:58:41 -0500 Subject: [svn-r18447] Purpose: Bug1727 - NPOESS: h5copy should copy region references Description: Tested and added test cases from previous checkin r18319 Reference Manual and tool's usage section for '-f ref' option is updated for more comprehensibility. Tested: jam --- tools/h5copy/h5copy.c | 20 +++++++++++++++----- 1 file 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\ -- cgit v0.12