diff options
author | Peter Cao <xcao@hdfgroup.org> | 2007-01-19 20:24:30 (GMT) |
---|---|---|
committer | Peter Cao <xcao@hdfgroup.org> | 2007-01-19 20:24:30 (GMT) |
commit | 416f0145abe0396718831f460c0a4d4a4dea11de (patch) | |
tree | 3fb3445a4b26c5bfbf61af8a02603718b5533f37 /tools | |
parent | 632773727c6f08c583bb6748d0d9dd11fe800364 (diff) | |
download | hdf5-416f0145abe0396718831f460c0a4d4a4dea11de.zip hdf5-416f0145abe0396718831f460c0a4d4a4dea11de.tar.gz hdf5-416f0145abe0396718831f460c0a4d4a4dea11de.tar.bz2 |
[svn-r13160] Fixed help information to use stdout instead of stderr.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5copy/h5copy.c | 7 |
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) |