Skip to content
Myr

Suppress trailing None in usage/error output as described in mitsuhiko/click/#312.

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

authored by Kevin Wurster · committed by Markus Unterwaditzer · parent 537e7b3 · 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:click/exceptions.py+1 added-1 removed
125 unmodified lines
126 return 'Missing %s%s%s%s' % (127 param_type,128 param_hint and ' %s' % param_hint or '',129 msg and '. ' or '.',130 msg,130 msg or '',131 )132133134class NoSuchOption(UsageError):
54 unmodified lines