App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.tools.endpointscfg._EndpointsParser Class Reference
Inheritance diagram for google.appengine.tools.endpointscfg._EndpointsParser:

Public Member Functions

def error
 

Detailed Description

Create a subclass of argparse.ArgumentParser for Endpoints.

Member Function Documentation

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: