-
-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tools usage text as doxygen for Tools UG #4602
Merged
Merged
Changes from 17 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
1df2bb1
Add doxygen version of tools usage
byrnHDF 14b78db
Committing clang-format changes
github-actions[bot] 109ae8c
Add additional tools doxygen
byrnHDF 882e84f
Committing clang-format changes
github-actions[bot] 8a76c1d
Add more tools doxygen files
byrnHDF 0cd0f09
Committing clang-format changes
github-actions[bot] 479c749
Correct unterminated alias lines
byrnHDF e5253a5
Correct formatting add h5dump
byrnHDF 373d932
Committing clang-format changes
github-actions[bot] 5c09f39
Cleanup text
byrnHDF 1c2e5d4
Fix typo
byrnHDF 7aa818e
Cleanup text in the tools doxygen code. Add release note.
byrnHDF c0a73d3
Committing clang-format changes
github-actions[bot] 655d269
Fix some doxygen display issues
byrnHDF a68e83f
Committing clang-format changes
github-actions[bot] 2654e65
Fix formatting
byrnHDF cbbb59b
Use long form options in examples
byrnHDF c57d0c3
Fix sentence typo and sentences
byrnHDF 76cf281
Add enhanced text explanation
byrnHDF 7768d81
Update some explanations for better grammer.
byrnHDF 0a6a802
Committing clang-format changes
github-actions[bot] 7402112
Fix typos
byrnHDF 6d21699
Committing clang-format changes
github-actions[bot] 01c8644
Fix option references
byrnHDF d93eac2
Merge branch 'develop' of https://github.com/HDFGroup/hdf5.git into d…
byrnHDF File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/** @page CommandTools Command Line Tools for HDF5 Files | ||
|
||
Navigate back: \ref index "Main" | ||
<hr> | ||
|
||
|
||
\section sec_cltools Command Line Tools for HDF5 Files | ||
There are several command line tools provided with HDF5. | ||
\li \ref sec_cltools_h5copy | ||
\li \ref sec_cltools_h5diff | ||
\li \ref sec_cltools_h5dump | ||
\li \ref sec_cltools_h5format_convert | ||
\li \ref sec_cltools_h5import | ||
\li \ref sec_cltools_h5jam | ||
\li \ref sec_cltools_h5ls | ||
\li \ref sec_cltools_h5repack | ||
\li \ref sec_cltools_h5stat | ||
\li \ref sec_cltools_h5clear | ||
\li \ref sec_cltools_h5debug | ||
\li \ref sec_cltools_h5delete | ||
\li \ref sec_cltools_h5mkgrp | ||
\li \ref sec_cltools_h5repart | ||
\li \ref sec_cltools_h5watch | ||
|
||
|
||
<hr> | ||
Navigate back: \ref index "Main" | ||
|
||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | ||
* Copyright by The HDF Group. * | ||
* All rights reserved. * | ||
* * | ||
* This file is part of HDF5. The full HDF5 copyright notice, including * | ||
* terms governing use, modification, and redistribution, is contained in * | ||
* the COPYING file, which can be found at the root of the source code * | ||
* distribution tree, or in https://www.hdfgroup.org/licenses. * | ||
* If you do not have access to either file, you may request a copy from * | ||
* help@hdfgroup.org. * | ||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | ||
#ifndef H5WATCH_H | ||
#define H5WATCH_H | ||
|
||
/** \page H5TOOL_WH_UG The HDF5 h5watch Tool | ||
* | ||
* \section sec_cltools_h5watch h5watch | ||
* | ||
* \subsection subsec_cltools_h5watch_intro Introduction | ||
* With h5watch, you can dump stats from an HDF5 file. | ||
* | ||
* \subsection subsec_cltools_h5watch_usage Usage | ||
* <h4>h5watch [OPTIONS] [OBJECT]</h4> | ||
* | ||
* \subsection subsec_cltools_h5watch_error Error Report Option | ||
* \li <strong>--enable-error-stack</strong> Prints messages from the HDF5 error stack as they occur. | ||
* Optional value 2 also prints file open errors. | ||
* | ||
* \subsection subsec_cltools_h5watch_options Options | ||
* \li <strong>--help</strong> Print a usage message and exit | ||
* \li <strong>--version</strong> Print the library version number and exit | ||
* \li <strong>--label</strong> Label members of compound typed dataset. | ||
* \li <strong>--simple</strong> Use a machine-readable output format. | ||
* \li <strong>--dim</strong> Monitor changes in size of dataset dimensions only. | ||
* \li <strong>--width=N</strong> Set the number of columns to N for output.<br /> | ||
* A value of 0 sets the number of columns to the | ||
* maximum (65535). The default width is 80 columns. | ||
* \li <strong>--polling=N</strong> Set the polling interval to N (in seconds) when the | ||
* dataset will be checked for appended data. | ||
* The default polling interval is 1. | ||
* \li <strong>--fields=\<list_of_fields\></strong> | ||
* Display data for the fields specified in \<list_of_fields\> | ||
* for a compound data type. | ||
* \<list_of_fields\> can be specified as follows: | ||
* <ul><li>1) A comma-separated list of field names in a | ||
* compound data type. "," is the separatorfor field names while "." is the separator | ||
* for a nested field.</li> | ||
* <li>2) A single field name in a compound data type. | ||
* This option can be used multiple times.</li></ul> | ||
* Note that backslash is the escape character to avoid | ||
* characters in field names that conflict with the tool's separators. | ||
* | ||
* \subsection subsec_cltools_h5watch_objs Object | ||
* <strong>OBJECT</strong> is specified as [\<filename\>/\<path_to_dataset\>/\<dsetname\>] | ||
* \li <strong>\<filename\></strong> Name of the HDF5 file. It may be preceded by path | ||
* separated by slashes to the specified HDF5 file. | ||
* \li <strong>\<path_to_dataset\></strong> Path separated by slashes to the specified dataset | ||
* \li <strong>\<dsetname\></strong> Name of the dataset | ||
* | ||
*/ | ||
|
||
#endif /* H5WATCH_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | ||
* Copyright by The HDF Group. * | ||
* All rights reserved. * | ||
* * | ||
* This file is part of HDF5. The full HDF5 copyright notice, including * | ||
* terms governing use, modification, and redistribution, is contained in * | ||
* the COPYING file, which can be found at the root of the source code * | ||
* distribution tree, or in https://www.hdfgroup.org/licenses. * | ||
* If you do not have access to either file, you may request a copy from * | ||
* help@hdfgroup.org. * | ||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | ||
|
||
#ifndef H5COPY_H | ||
#define H5COPY_H | ||
|
||
/** \page H5TOOL_CP_UG The HDF5 h5copy Tool | ||
* | ||
* \section sec_cltools_h5copy h5copy | ||
* | ||
* \subsection subsec_cltools_h5copy_intro Introduction | ||
* With h5copy, you can copy objects from an HDF5 file to another file. | ||
* | ||
* \subsection subsec_cltools_h5copy_usage Usage | ||
* <h4>h5copy [OPTIONS] [OBJECTS...]</h4> | ||
* | ||
* \subsection subsec_cltools_h5copy_objs Objects | ||
* \li <strong>--input</strong> input file name | ||
* \li <strong>--output</strong> output file name | ||
* \li <strong>--source</strong> source object name | ||
* \li <strong>--destination</strong> destination object name | ||
* | ||
* \subsection subsec_cltools_h5copy_error Error Report Option | ||
* \li <strong>--enable-error-stack</strong> Prints messages from the HDF5 error stack as they occur. | ||
Optional value 2 also prints file open errors. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Code says enable-error-stack takes an optional_arg. Reading the help message I wasn't sure how the value 2 was to be specified. Would "Optional argument 2 be clearer? |
||
* | ||
* \subsection subsec_cltools_h5copy_options Options | ||
* \li <strong>--help</strong> Print a usage message and exit | ||
* \li <strong>--parents</strong> No error if existing, make parent groups as needed | ||
* \li <strong>--verbose</strong> Print information about OBJECTS and OPTIONS | ||
* \li <strong>--version</strong> Print the library version number and exit | ||
* \li <strong>--flag</strong> Flag type | ||
* | ||
* \subsubsection subsubsec_cltools_h5copy_options_args Flag Type Options | ||
* Flag type is one of the following strings: | ||
* \li <strong>shallow</strong> Copy only immediate members for groups | ||
* \li <strong>soft</strong> Expand soft links into new objects | ||
* \li <strong>ext</strong> Expand external links into new objects | ||
* \li <strong>ref</strong> Copy references and any referenced objects, i.e., objects | ||
* that the references point to.<br /> | ||
* Referenced objects are copied in addition to the objects | ||
* specified on the command line and reference datasets are | ||
* populated with correct reference values. Copies of referenced | ||
* datasets outside the copy range specified on the command line | ||
* will normally have a different name from the original.<br /> | ||
* (Default: Without this option, reference value(s) in any | ||
* reference datasets are set to NULL and referenced objects are | ||
* not copied unless they are otherwise within the copy range | ||
* specified on the command line.) | ||
* \li <strong>noattr</strong> Copy object without copying attributes | ||
* \li <strong>allflags</strong> Switches all flags from the default to the non-default setting | ||
* | ||
* These flag types correspond to the following API symbols | ||
* \li <strong>#H5O_COPY_SHALLOW_HIERARCHY_FLAG</strong> | ||
* \li <strong>#H5O_COPY_EXPAND_SOFT_LINK_FLAG</strong> | ||
* \li <strong>#H5O_COPY_EXPAND_EXT_LINK_FLAG</strong> | ||
* \li <strong>#H5O_COPY_EXPAND_REFERENCE_FLAG</strong> | ||
* \li <strong>#H5O_COPY_WITHOUT_ATTR_FLAG</strong> | ||
* \li <strong>#H5O_COPY_ALL</strong> | ||
* | ||
*/ | ||
|
||
#endif /* H5COPY_H */ |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add missing space after "separator"