diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-07-30 21:55:46 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-07-30 21:55:46 (GMT) |
commit | 88729d4c14285cf10d49f62ba041cc15831703b4 (patch) | |
tree | bed8e03054a8b4bd0041050992793e435db85eb0 /tools/h5ls/h5ls.c | |
parent | bbae8bfdcd4b12bd007cd8a731307bad50384b9a (diff) | |
download | hdf5-88729d4c14285cf10d49f62ba041cc15831703b4.zip hdf5-88729d4c14285cf10d49f62ba041cc15831703b4.tar.gz hdf5-88729d4c14285cf10d49f62ba041cc15831703b4.tar.bz2 |
[svn-r4282]
Purpose:
Bug Fix/Feature Add
Description:
Added new flag ("-f" and "--family") to allow user to specify which
file driver to use to open the file. If they don't specify anything,
then it defaults to the old behaviour of trying each driver in turn
until one actually opens the file.
If the driver the user specified doesn't succeed in opening the
file, then we do NOT try other file drivers.
Platforms tested:
Linux
Diffstat (limited to 'tools/h5ls/h5ls.c')
-rw-r--r-- | tools/h5ls/h5ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c index 1ed03ff..6be56ae 100644 --- a/tools/h5ls/h5ls.c +++ b/tools/h5ls/h5ls.c @@ -2104,7 +2104,7 @@ main (int argc, char *argv[]) file = -1; while (fname && *fname) { - file = h5tools_fopen(fname, drivername, sizeof drivername); + file = h5tools_fopen(fname, NULL, drivername, sizeof drivername); if (file>=0) { if (verbose_g) { |