mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r17715] Fixed to exit failure if no command option is given.
Tested: Jam
This commit is contained in:
parent
e0b41d0b01
commit
c8f1cdae1d
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user