Skip to content
Myr

Merge pull request #519 from adampetrovic/master

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

Fixed a typo in the advanced help docs

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parents 598ad33, 78393dc · Browse files · 1 file+1 added−1 removed
This commit

State

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

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/advanced.rst+1 added-1 removed
344 unmodified lines
345346.. versionadded:: 5.0347348Starting with Click 5.0 it is possible to access the current context from349anywhere within the same through through the use of the349anywhere within the same thread through the use of the350:func:`get_current_context` function which returns it. This is primarily351useful for accessing the context bound object as well as some flags that352are stored on it to customize the runtime behavior. For instance the353:func:`echo` function does this to infer the default value of the `color`
26 unmodified lines