summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/h5copy/h5copy.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/h5copy/h5copy.c b/tools/h5copy/h5copy.c
index e7af78d..5c793a4 100644
--- a/tools/h5copy/h5copy.c
+++ b/tools/h5copy/h5copy.c
@@ -54,7 +54,7 @@ static struct long_options l_opts[] = {
static void
usage (void)
{
- fprintf(stderr, "\
+ fprintf(stdout, "\
usage: h5copy [OPTIONS] [OBJECTS...]\n\
OBJECTS\n\
-i, --input input file name\n\
@@ -322,7 +322,7 @@ main (int argc, const char *argv[])
/* create property to pass copy options */
if ( (pid = H5Pcreate(H5P_OBJECT_COPY)) < 0)
goto error;
-
+
/* set options for object copy */
if (flag)
{
@@ -330,7 +330,6 @@ main (int argc, const char *argv[])
goto error;
}
-
/*-------------------------------------------------------------------------
* do the copy
*-------------------------------------------------------------------------*/
@@ -342,8 +341,6 @@ main (int argc, const char *argv[])
pid, /* Properties which apply to the copy */
H5P_DEFAULT)<0) /* Properties which apply to the new hard link */
goto error;
-
-
/* close property */
if (H5Pclose(pid)<0)