diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2024-03-04 14:54:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-04 14:54:24 (GMT) |
commit | 968cf9e707f733b3674d0047bbf7a958ddbc3eb8 (patch) | |
tree | c4d1333d7cf3ae61419eb8c09927cb31828ab5d8 /tools/src/h5ls | |
parent | 7ce8c6f81abdc2d844bc12061239b05a983eda82 (diff) | |
download | hdf5-968cf9e707f733b3674d0047bbf7a958ddbc3eb8.zip hdf5-968cf9e707f733b3674d0047bbf7a958ddbc3eb8.tar.gz hdf5-968cf9e707f733b3674d0047bbf7a958ddbc3eb8.tar.bz2 |
Improve error messages when tools attempt to use non-enabled S3 and HDFS VFDs. (#4047)
Diffstat (limited to 'tools/src/h5ls')
-rw-r--r-- | tools/src/h5ls/h5ls.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/src/h5ls/h5ls.c b/tools/src/h5ls/h5ls.c index 04c5ff3..b3488d5 100644 --- a/tools/src/h5ls/h5ls.c +++ b/tools/src/h5ls/h5ls.c @@ -2858,7 +2858,8 @@ main(int argc, char *argv[]) vfd_info.info = &ros3_fa; #else - fprintf(rawerrorstream, "Error: Read-Only S3 VFD is not enabled\n\n"); + fprintf(rawerrorstream, "Error: Read-Only S3 VFD is not available unless enabled when HDF5 is " + "configured and built.\n\n"); usage(); leave(EXIT_FAILURE); #endif @@ -2881,7 +2882,9 @@ main(int argc, char *argv[]) vfd_info.info = &hdfs_fa; #else - fprintf(rawerrorstream, "Error: The HDFS VFD is not enabled\n\n"); + fprintf( + rawerrorstream, + "Error: The HDFS VFD is not available unless enabled when HDF5 is configured and built.\n\n"); usage(); leave(EXIT_FAILURE); #endif |