summaryrefslogtreecommitdiffstats
path: root/tools/src
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-27 19:24:05 (GMT)
committerGitHub <noreply@github.com>2023-07-27 19:24:05 (GMT)
commitdf5dcb2a735dd5bb3ee2cc700119109605976e41 (patch)
tree4013a33b5e586013dce09c4831510cb59fdf400c /tools/src
parentcb69bc279ce12d078d43f7aa70b2929d8df1c147 (diff)
downloadhdf5-df5dcb2a735dd5bb3ee2cc700119109605976e41.zip
hdf5-df5dcb2a735dd5bb3ee2cc700119109605976e41.tar.gz
hdf5-df5dcb2a735dd5bb3ee2cc700119109605976e41.tar.bz2
Normalizes the public headers (#3292)
* Also brings over the apostrophe fix
Diffstat (limited to 'tools/src')
-rw-r--r--tools/src/misc/h5clear.c63
1 files changed, 30 insertions, 33 deletions
diff --git a/tools/src/misc/h5clear.c b/tools/src/misc/h5clear.c
index faf7d94..4a2b07d 100644
--- a/tools/src/misc/h5clear.c
+++ b/tools/src/misc/h5clear.c
@@ -61,39 +61,36 @@ static struct h5_long_options l_opts[] = {
static void
usage(const char *prog)
{
- HDfprintf(stdout, "usage: %s [OPTIONS] file_name\n", prog);
- HDfprintf(stdout, " OPTIONS\n");
- HDfprintf(stdout, " -h, --help Print a usage message and exit\n");
- HDfprintf(stdout, " -V, --version Print version number and exit\n");
- 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\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");
- HDfprintf(stdout, "h5clear -s file_name\n");
- HDfprintf(stdout, " Clear the status_flags field in the superblock of the HDF5 file <file_name>.\n");
- HDfprintf(stdout, "\n");
- HDfprintf(stdout, "h5clear -m file_name\n");
- HDfprintf(stdout, " Remove the metadata cache image from the HDF5 file <file_name>.\n");
- HDfprintf(stdout, "\n");
- HDfprintf(stdout, "h5clear --increment file_name\n");
- HDfprintf(stdout, " Set the EOA to the maximum of (EOA, EOF) + 1M for the file <file_name>.\n");
- HDfprintf(stdout, "\n");
- HDfprintf(stdout, "h5clear --increment=512 file_name\n");
- HDfprintf(stdout, " Set the EOA to the maximum of (EOA, EOF) + 512 for the file <file_name>.\n");
+ fprintf(stdout, "usage: %s [OPTIONS] file_name\n", prog);
+ fprintf(stdout, " OPTIONS\n");
+ fprintf(stdout, " -h, --help Print a usage message and exit\n");
+ fprintf(stdout, " -V, --version Print version number and exit\n");
+ fprintf(stdout, " -s, --status Clear the status_flags field in the file's superblock\n");
+ fprintf(stdout, " -m, --image Remove the metadata cache image from the file\n");
+ fprintf(stdout, " --filesize Print the file's EOA and EOF\n");
+ fprintf(stdout, " --increment=C Set the file's EOA to the maximum of (EOA, EOF) + C for\n");
+ fprintf(stdout, " the file <file_name>.\n");
+ fprintf(stdout,
+ " C is >= 0; C is optional and will default to 1M when not set.\n");
+ fprintf(stdout,
+ " This option helps to repair a crashed file where the stored EOA\n");
+ fprintf(stdout, " in the superblock is different from the actual EOF.\n");
+ fprintf(stdout, " The file's EOA and EOF will be the same after applying\n");
+ fprintf(stdout, " this option to the file.\n");
+ fprintf(stdout, "\n");
+ fprintf(stdout, "Examples of use:\n");
+ fprintf(stdout, "\n");
+ fprintf(stdout, "h5clear -s file_name\n");
+ fprintf(stdout, " Clear the status_flags field in the superblock of the HDF5 file <file_name>.\n");
+ fprintf(stdout, "\n");
+ fprintf(stdout, "h5clear -m file_name\n");
+ fprintf(stdout, " Remove the metadata cache image from the HDF5 file <file_name>.\n");
+ fprintf(stdout, "\n");
+ fprintf(stdout, "h5clear --increment file_name\n");
+ fprintf(stdout, " Set the EOA to the maximum of (EOA, EOF) + 1M for the file <file_name>.\n");
+ fprintf(stdout, "\n");
+ fprintf(stdout, "h5clear --increment=512 file_name\n");
+ fprintf(stdout, " Set the EOA to the maximum of (EOA, EOF) + 512 for the file <file_name>.\n");
} /* usage() */
/*-------------------------------------------------------------------------