code: def cmd_watch(args):
      '''watch a mavlink packet pattern'''
      if len(args) == 0:
          mpstate.status.watch = None
          return
      mpstate.status.watch = args
      print("Watching %s" % mpstate.status.watchf cmd_watch(args):
      '''watch a mavlink packet pattern'''
      if len(args) == 0:
          mpstate.status.watch = None
          return
      mpstate.status.watch = args
      print("Watching %s" % mpstate.status.watch)
docs: watch a mavlink packet pattern