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.
This commit is contained in:
Vailin Choi
2020-06-11 16:30:42 -05:00
committed by vchoi
parent b347f01620
commit 34d57480f6
3 changed files with 23 additions and 6 deletions

View File

@@ -5,8 +5,14 @@ usage: h5clear [OPTIONS] file_name
-s, --status Clear the status_flags field in the file's superblock
-m, --image Remove the metadata cache image from the file
--filesize Print the file's EOA and EOF
--increment=C Set the file's EOA to the maximum of (EOA, EOF) + C for the file <file_name>
C is >= 0; C is optional and will default to 1M when not set
--increment=C Set the file's EOA to the maximum of (EOA, EOF) + C for
the file <file_name>.
C is >= 0; C is optional and will default to 1M when not set.
This option helps to repair a crashed file where the stored EOA
in the superblock is different from the actual EOF.
The files EOA and EOF will be the same after applying
this option to the file.
Examples of use:
h5clear -s file_name