Skip to content
Myr

Merge pull request #182 from quodlibetor/doc-hyperlinks

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Add links from options -> arguments and back again

authored by Armin Ronacher · committed by Armin Ronacher · parents a85c5b7, b685eea · Browse files · 2 files+11 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+11 added−5 removed

  • other:+11 added−5 removed

2 files+11 added−5 removed

modified:docs/arguments.rst+7 added-4 removed
1.. _arguments:23Arguments4=========56.. currentmodule:: click76Arguments work similarly to options but are positional. They also only7support a subset of the features of options due to their syntactical nature.8Click will also not attempt to document arguments for you and wants you to9document them manually in order to avoid ugly help pages.8Arguments work similarly to :ref:`options <options>` but are positional.9They also only support a subset of the features of options due to their10syntactical nature. Click will also not attempt to document arguments for11you and wants you to document them manually in order to avoid ugly help12pages.1314Basic Arguments15---------------16
229 unmodified lines
modified:docs/options.rst+4 added-1 removed
1.. _options:23Options4=======56.. currentmodule:: click78Adding options to commands can be accomplished by the :func:`option`9decorator. Since options can come in various different versions, there8are a ton of parameters to configure their behavior.10are a ton of parameters to configure their behavior. Options in click are11distinct from :ref:`positional arguments <arguments>`.1213Basic Value Options14-------------------15
596 unmodified lines