summaryrefslogtreecommitdiffstats
path: root/tools/h5copy
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2009-10-21 18:19:38 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2009-10-21 18:19:38 (GMT)
commitc8f1cdae1d108ca9b1b2fbc9e0550de8cdede7c7 (patch)
treee42e9b2f51009e2e761db308cf673dffa43d7781 /tools/h5copy
parente0b41d0b015c4899402018df2018d63c095e4ac7 (diff)
downloadhdf5-c8f1cdae1d108ca9b1b2fbc9e0550de8cdede7c7.zip
hdf5-c8f1cdae1d108ca9b1b2fbc9e0550de8cdede7c7.tar.gz
hdf5-c8f1cdae1d108ca9b1b2fbc9e0550de8cdede7c7.tar.bz2
[svn-r17715] Fixed to exit failure if no command option is given.
Tested: Jam
Diffstat (limited to 'tools/h5copy')
-rw-r--r--tools/h5copy/h5copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5copy/h5copy.c b/tools/h5copy/h5copy.c
index e487f2e..f2a41ae 100644
--- a/tools/h5copy/h5copy.c
+++ b/tools/h5copy/h5copy.c
@@ -210,7 +210,7 @@ main (int argc, const char *argv[])
/* Check for no command line parameters */
if(argc == 1) {
usage();
- leave(EXIT_SUCCESS);
+ leave(EXIT_FAILURE);
} /* end if */
/* parse command line options */