Create a subclass of argparse.ArgumentParser for Endpoints.
def google.appengine.tools.endpointscfg._EndpointsParser.error |
( |
|
self, |
|
|
|
message |
|
) |
| |
Override superclass to support customized error message.
Error message needs to be rewritten in order to display visible commands
only, when invalid command is called by user. Otherwise, hidden commands
will be displayed in stderr, which is not expected.
Refer the following argparse python documentation for detailed method
information:
http://docs.python.org/2/library/argparse.html#exiting-methods
Args:
message: original error message that will be printed to stderr
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/tools/endpointscfg.py