diff options
author | Vailin Choi <vchoi@hdfgroup.org> | 2020-06-11 21:30:42 (GMT) |
---|---|---|
committer | vchoi <vchoi@jelly.ad.hdfgroup.org> | 2020-06-11 22:02:39 (GMT) |
commit | c2af605d9582a9c0df71c4771d0ec208511ccc3e (patch) | |
tree | 816a32fe3026543644e80f54d2b6d75f12ae4cda /tools/src | |
parent | 22bc73c11121cc3d7914c23ceffde4655b01f038 (diff) | |
download | hdf5-c2af605d9582a9c0df71c4771d0ec208511ccc3e.zip hdf5-c2af605d9582a9c0df71c4771d0ec208511ccc3e.tar.gz hdf5-c2af605d9582a9c0df71c4771d0ec208511ccc3e.tar.bz2 |
Merge pull request #2643 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/HDFFV-10961-h5clear-usage-statement-give to develop
* commit '01b632c69ca1c97c2b0e1aaeeab1dd2362b580a6':
Fix for HDFFV-10961: Couple changes to the tests' usage output files for h5clear.
Fix for HDFFV-10961: add description to usage for --increment option.
Diffstat (limited to 'tools/src')
-rw-r--r-- | tools/src/misc/h5clear.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/src/misc/h5clear.c b/tools/src/misc/h5clear.c index 38fa6a2..42bb4ff 100644 --- a/tools/src/misc/h5clear.c +++ b/tools/src/misc/h5clear.c @@ -101,8 +101,13 @@ static void usage(const char *prog) HDfprintf(stdout, " -s, --status Clear the status_flags field in the file's superblock\n"); HDfprintf(stdout, " -m, --image Remove the metadata cache image from the file\n"); HDfprintf(stdout, " --filesize Print the file's EOA and EOF\n"); - HDfprintf(stdout, " --increment=C Set the file's EOA to the maximum of (EOA, EOF) + C for the file <file_name>\n"); - HDfprintf(stdout, " C is >= 0; C is optional and will default to 1M when not set"); + HDfprintf(stdout, " --increment=C Set the file's EOA to the maximum of (EOA, EOF) + C for\n"); + HDfprintf(stdout, " the file <file_name>.\n"); + HDfprintf(stdout, " C is >= 0; C is optional and will default to 1M when not set.\n"); + HDfprintf(stdout, " This option helps to repair a crashed file where the stored EOA\n"); + HDfprintf(stdout, " in the superblock is different from the actual EOF.\n"); + HDfprintf(stdout, " The file’s EOA and EOF will be the same after applying\n"); + HDfprintf(stdout, " this option to the file.\n"); HDfprintf(stdout, "\n"); HDfprintf(stdout, "Examples of use:\n"); HDfprintf(stdout, "\n"); |