Merge pull request #1349 from minho42/Fix-typo
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Fix typos
authored by Joshua Bronson · committed by GitHub · parents f537a20, 00f82cd · Browse files · 4 files·+6 added−6 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+6 added−6 removed
- other:+6 added−6 removed
Provenance
- Commit
49fe8fb- Tree
7268d10- Author
Joshua Bronson <jab@users.noreply.github.com>- Committer
GitHub <noreply@github.com>- Parent 1
f537a20- Parent 2
00f82cd
4 files changed+6 added−6 removed
modified:click/_bashcomplete.py+1 added-1 removed
128 unmodified lines129 130 def is_incomplete_option(all_args, cmd_param):131 """132 :param all_args: the full original list of args supplied133- :param cmd_param: the current command paramter133+ :param cmd_param: the current command parameter134 :return: whether or not the last option declaration (i.e. starts "-" or "--") is incomplete and135 corresponds to this cmd_param. In other words whether this cmd_param option can still accept136 values137 """156 unmodified linesmodified:click/_compat.py+1 added-1 removed
304 unmodified lines305 return buf306 307 def _find_binary_writer(stream):308 # We need to figure out if the given stream is already binary.309- # This can happen because the official docs recommend detatching309+ # This can happen because the official docs recommend detaching310 # the streams to get binary streams. Some code might do this, so311 # we need to deal with this case explicitly.312 if _is_binary_writer(stream, False):313 return stream388 unmodified linesmodified:click/_winconsole.py+1 added-1 removed
4 unmodified lines5 #6 # There are some general differences in regards to how this works7 # compared to the original patches as we do not need to patch8 # the entire interpreter but just work in our little world of9-# echo and prmopt.9+# echo and prompt.10 11 import io12 import os13 import sys294 unmodified linesmodified:CHANGES.rst+3 added-3 removed
6 unmodified lines7 Unreleased8 9 - Adds a repr to Command, showing the command name for friendlier debugging. (`#1267`_, `#1295`_)10 - Add support for distinguishing the source of a command line parameter. (`#1264`_, `#1329`_)11- 11+12 .. _#1267: https://github.com/pallets/click/issues/126713 .. _#1295: https://github.com/pallets/click/pull/129514 .. _#1264: https://github.com/pallets/click/issues/126415 .. _#1329: https://github.com/pallets/click/pull/1329492 unmodified lines508 -----------509 510 (codename "clonk clonk", released on August 12th 2014)511 512-- formatter now no longer attempts to accomodate for terminals512+- formatter now no longer attempts to accommodate for terminals513 smaller than 50 characters. If that happens it just assumes514 a minimal width.515 - added a way to not swallow exceptions in the test system.516 - added better support for colors with pagers and ways to517 override the autodetection.518 - the CLI runner's result object now has a traceback attached.519 - improved automatic short help detection to work better with520 dots that do not terminate sentences.521-- when definining options without actual valid option strings521+- when defining options without actual valid option strings522 now, Click will give an error message instead of silently523 passing. This should catch situations where users wanted to524 created arguments instead of options.525 - Restructured Click internally to support vendoring.128 unmodified lines