MCPcopy
hub / github.com/docopt/docopt / DocoptExit

Class DocoptExit

docopt.py:22–29  ·  view source on GitHub ↗

Exit in case user invoked program with incorrect arguments.

Source from the content-addressed store, hash-verified

20
21
22class DocoptExit(SystemExit):
23
24 """Exit in case user invoked program with incorrect arguments."""
25
26 usage = ''
27
28 def __init__(self, message=''):
29 SystemExit.__init__(self, (message + '\n' + self.usage).strip())
30
31
32class Pattern(object):

Callers 1

docoptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…