From 416f0145abe0396718831f460c0a4d4a4dea11de Mon Sep 17 00:00:00 2001 From: Peter Cao Date: Fri, 19 Jan 2007 15:24:30 -0500 Subject: [svn-r13160] Fixed help information to use stdout instead of stderr. --- tools/h5copy/h5copy.c | 7 ++----- 1 file 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) -- cgit v0.12