Skip to content
Myr

Merge pull request #70 from julen/doc-fixes

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

authored by Armin Ronacher · committed by Armin Ronacher · parents 3fb6573, 45d4779 · Browse files · 2 files+3 added−3 removed
This commit

State

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

Trailers

  • Docs: minor fixes

Diff stats

2 files+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:docs/arguments.rst+1 added-1 removed
62 unmodified lines
63 If you come from ``argparse`` you might be missing support for setting64 ``nargs`` to ``+`` to indicate that at least one argument is required.6566 Support for this is very intentionally not included as we believe67 scripts should gracefully degrate into becomming noops if a variadic67 scripts should gracefully degrade into becoming noops if a variadic68 argument is empty. The reason for this is that very often scripts are69 invoked with wildcard inputs from the command line and they should not70 error out if the wildcard is empty.71
94 unmodified lines
modified:docs/documentation.rst+2 added-2 removed
40 unmodified lines
41width of the terminal. In some circumstances this can become a problem.42The main issue is showing code examples where newlines are significant.4344Rewrapping can be disabled on a per-paragraph case by adding a line with45just the ``\b`` escape marker in. This line will be removed in the help46text but rewrapping will be disabled.45just the ``\b`` escape marker in it. This line will be removed from the46help text and rewrapping will be disabled.4748Example:4950.. click:example::
78 unmodified lines