From c8f1cdae1d108ca9b1b2fbc9e0550de8cdede7c7 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Wed, 21 Oct 2009 13:19:38 -0500 Subject: [svn-r17715] Fixed to exit failure if no command option is given. Tested: Jam --- tools/h5copy/h5copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v0.12