tools/site_compare/command_line.py
def GetUsageString(self):
      """Returns a brief string describing the argument's usage."""
      if not self.positional:
        string = self.names[0]
        if self.type in Command.Argument.TYPES_WITH_VALUES:
          string += "="+self.metaname
      else:
        string = self.metaname

      if not self.required:
        string = "["+string+"]"

      return string
Returns a brief string describing the argument's usage.
Returns a brief string describing the argument's usage.
Returns a brief string describing the argument ' s usage .
def GetUsageString(self):
      if not self.positional:
        string = self.names[0]
        if self.type in Command.Argument.TYPES_WITH_VALUES:
          string += "="+self.metaname
      else:
        string = self.metaname
      if not self.required:
        string = "["+string+"]"
      return string
def GetUsageString ( self ) : if not self . positional : string = self . names [ 0 ] if self . type in Command . Argument . TYPES_WITH_VALUES : string += "=" + self . metaname else : string = self . metaname if not self . required : string = "[" + string + "]" return string
Returns a brief string describing the argument's usage.
Returns a brief string describing the argument ' s usage .
"""Returns a brief string describing the argument's usage."""
self