mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[svn-r2549] Added usage message if the user doesn't specify a filename (i.e., no
command line arguments are given).
This commit is contained in:
parent
29a7f62218
commit
1a50cbd737
@ -27,7 +27,6 @@
|
||||
/* File drivers */
|
||||
#include <H5FDfamily.h>
|
||||
|
||||
|
||||
#define INDENT 3
|
||||
#define VCOL 50
|
||||
|
||||
@ -59,6 +58,12 @@ main(int argc, char *argv[])
|
||||
intn i, ndims;
|
||||
herr_t status = SUCCEED;
|
||||
|
||||
if (argc == 1) {
|
||||
fprintf(stderr,
|
||||
"Usage: %s filename [signature addr [extra]]\n", argv[0]);
|
||||
HDexit(1);
|
||||
}
|
||||
|
||||
/*
|
||||
* Open the file and get the file descriptor.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user