summaryrefslogtreecommitdiffstats
path: root/tools/h5ls
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-07-30 21:55:46 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-07-30 21:55:46 (GMT)
commit88729d4c14285cf10d49f62ba041cc15831703b4 (patch)
treebed8e03054a8b4bd0041050992793e435db85eb0 /tools/h5ls
parentbbae8bfdcd4b12bd007cd8a731307bad50384b9a (diff)
downloadhdf5-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')
-rw-r--r--tools/h5ls/h5ls.c2
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) {