code: def cmd_status(args):
      '''show status'''
      if len(args) == 0:
          mpstate.status.show(sys.stdout, pattern=None)
      else:
          for pattern in args:
              mpstate.status.show(sys.stdout, pattern=patternf cmd_status(args):
      '''show status'''
      if len(args) == 0:
          mpstate.status.show(sys.stdout, pattern=None)
      else:
          for pattern in args:
              mpstate.status.show(sys.stdout, pattern=pattern)
docs: show status