diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2009-10-21 18:19:38 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2009-10-21 18:19:38 (GMT) |
commit | c8f1cdae1d108ca9b1b2fbc9e0550de8cdede7c7 (patch) | |
tree | e42e9b2f51009e2e761db308cf673dffa43d7781 /tools | |
parent | e0b41d0b015c4899402018df2018d63c095e4ac7 (diff) | |
download | hdf5-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')
-rw-r--r-- | tools/h5copy/h5copy.c | 2 |
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 */ |