Fix typos in docs (#623)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Radovan Bast · committed by Adrian · parent a50befd · Browse files · 5 files·+5 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
5 files+5 added−5 removed
- other:+5 added−5 removed
Provenance
- Commit
b5239af- Tree
50e35be- Author
Radovan Bast <bast@users.noreply.github.com>- Committer
Adrian <adrian@planetcoding.net>- Parent
a50befd
5 files changed+5 added−5 removed
modified:docs/advanced.rst+1 added-1 removed
275 unmodified lines276 command will abort with an error that there are leftover arguments.277 If you go with this solution, the extra arguments will be collected in278 :attr:`Context.args`.279 2. You can attach a :func:`argument` with ``nargs`` set to `-1` which280- will eat up all leftover arguments. In this case it's recommeded to280+ will eat up all leftover arguments. In this case it's recommended to281 set the `type` to :data:`UNPROCESSED` to avoid any string processing282 on those arguments as otherwise they are forced into unicode strings283 automatically which is often not what you want.284 95 unmodified linesmodified:docs/bashcomplete.rst+1 added-1 removed
40 unmodified lines41 with dashes replaced by underscores.42 43 If your tool is called ``foo-bar``, then the magic variable is called44 ``_FOO_BAR_COMPLETE``. By exporting it with the ``source`` value it will45-spit out the activation script which can be trivally activated.45+spit out the activation script which can be trivially activated.46 47 For instance, to enable Bash completion for your ``foo-bar`` script, this48 is what you would need to put into your ``.bashrc``::49 20 unmodified linesmodified:docs/commands.rst+1 added-1 removed
435 unmodified lines436 you're not satisfied with the defaults.437 438 The default map can be nested arbitrarily for each subcommand and439 provided when the script is invoked. Alternatively, it can also be440-overriden at any point by commands. For instance, a top-level command could440+overridden at any point by commands. For instance, a top-level command could441 load the defaults from a configuration file.442 443 Example usage:444 114 unmodified linesmodified:docs/upgrading.rst+1 added-1 removed
42 unmodified lines43 44 Multicommand Chaining API45 `````````````````````````46 47-Click 3 introduced multicommand chaning. This required a change in how47+Click 3 introduced multicommand chaining. This required a change in how48 Click internally dispatches. Unfortunately this change was not correctly49 implemented and it appeared that it was possible to provide an API that50 can inform the super command about all the subcommands that will be51 invoked.49 unmodified linesmodified:docs/utils.rst+1 added-1 removed
224 unmodified lines225 226 .. versionadded:: 2.0227 228 Click supports launching applications through :func:`launch`. This can be229-used to open the default application assocated with a URL or filetype.229+used to open the default application associated with a URL or filetype.230 This can be used to launch web browsers or picture viewers, for instance.231 In addition to this, it can also launch the file manager and automatically232 select the provided file.233 165 unmodified lines