summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvchoi <vchoi@jelly.ad.hdfgroup.org>2020-06-11 18:17:35 (GMT)
committervchoi <vchoi@jelly.ad.hdfgroup.org>2020-06-11 18:17:35 (GMT)
commitc597bd50d22a8631c237237fefdac276229ca91d (patch)
treeee83ad67fd12bc1d7b0c264412434b3b43ec0e98
parent3650841a0a307e512bcc9aa04332ce72a780fc69 (diff)
downloadhdf5-c597bd50d22a8631c237237fefdac276229ca91d.zip
hdf5-c597bd50d22a8631c237237fefdac276229ca91d.tar.gz
hdf5-c597bd50d22a8631c237237fefdac276229ca91d.tar.bz2
Fix for HDFFV-10961: add description to usage for --increment option.
-rw-r--r--tools/src/misc/h5clear.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/src/misc/h5clear.c b/tools/src/misc/h5clear.c
index 2c85e75..f95d1bc 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");