Skip to content

Fix display of '--' options in documentation#6318

Open
jhendersonHDF wants to merge 1 commit intoHDFGroup:developfrom
jhendersonHDF:fix_docs_command_line_opts
Open

Fix display of '--' options in documentation#6318
jhendersonHDF wants to merge 1 commit intoHDFGroup:developfrom
jhendersonHDF:fix_docs_command_line_opts

Conversation

@jhendersonHDF
Copy link
Collaborator

* \li <strong>\--xml-dtd=U</strong> Use the DTD or schema at U
* \li <strong>\--xml-ns=S</strong> (XML Schema) Use qualified names in the XML.
* ":": no namespace, default: "hdf5:"
* E.g., to dump a file called "-f", use h5dump -- -f
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part was incorrectly brought over from the old h5dump docs. Restored the original text below under the "Option Argument Conventions" section.

@Dave-Allured
Copy link
Contributor

@jhendersonHDF Nice. Thanks for quick response. I did not do a full review.

* \li <strong>--vfd-info</strong> VFD-specific info to pass to the VFL driver used for
* \li <strong>\--contents</strong> Print a list of the file contents, group and dataset,
* names and values, then exit. Optional value 1 also prints attributes,
* <code>\--contents=1</code>. \li <strong>\--superblock</strong> Print the content of the super block \li
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the formatting is messed-up

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm yes, clang might have done that. I'll fix it

\li Use <code>--disable-h</code>l to disable the high-level library. (Recommended)
\li Use <code>--enable-unsupported</code> to build the high-level library with the thread-safety feature.
To use Autotools to build an application with \--enable-threadsafe, use one of the following approaches:
\li Use <code>\--disable-h</code>l to disable the high-level library. (Recommended)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

l is outside

To use Autotools to build an application with --enable-threadsafe, use one of the following approaches:
\li Use <code>--disable-h</code>l to disable the high-level library. (Recommended)
\li Use <code>--enable-unsupported</code> to build the high-level library with the thread-safety feature.
To use Autotools to build an application with \--enable-threadsafe, use one of the following approaches:
Copy link
Collaborator

@brtnfld brtnfld Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some parameters have <code> </code> some don't

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mostly left what was there and just did a find/replace, but I can fix ones I find or that are pointed out

* \li <strong>\--indexed=L2</strong> Minimum number of links in the indexed format
* \li <strong>\--ssize=S[:F]</strong> Shared object header message minimum size
* \li <strong>\--minimum=M</strong> Do not apply the filter to datasets smaller than M
* \li <strong>\--file=E</strong> Name of file E with the \--file and \--layout options
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--file should be wrapped in strong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component - Documentation Doxygen, markdown, etc.

Projects

Status: To be triaged

Development

Successfully merging this pull request may close these issues.

Tools docs: Unwanted conversion of double minus sign

5 participants