def help(self): App.help(self) for arg in [ "-f <from-pattern>", "-t <to-pattern>", "-c <cc-pattern>", "-s <subject-pattern>", "-x (function mode: overrides -o)", "-a (and mode: default=or)", ]: print arg
def nextline(self): # physical line line = self.peek if line != "\n": line = line + App.readline(self) # '' on eof self.peek = self.read(1) return line