diff options
| author | Jani Nikula <jani@nikula.org> | 2021-05-21 23:44:12 +0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-05-22 16:43:24 -0300 |
| commit | f2e2f2aa96cb0d40c6fb85cde2ab82380c367485 (patch) | |
| tree | 62db8cfc77351a8b441b8648c256384b273d2ee4 /lib/thread.cc | |
| parent | 574b2436eeabf60c930ba227931ee87b0b151a65 (diff) | |
doc: use program and option directives to document options
Use the program and option directives to document the subcommand
options. This unifies a lot of option documentation throughout.
This also makes it possible to reference options with :option:`--foo`
(within .. program::) or :option:`subcommand --foo` (globally). This
is left for later work.
See https://www.sphinx-doc.org/en/master/usage/restructuredtext/domains.html#directive-program
Note: There is a lot of indentation change, but intentionally there is
no reflow. Using 'git diff -w' or 'git show -w' to ignore white space
changes makes this a very easy change to review.
Diffstat (limited to 'lib/thread.cc')
0 files changed, 0 insertions, 0 deletions
