code: def _set_update_parser_arg(_parser):
      """
      config parser argument for updating
      """
  
      _parser.add_argument("-f", "--file", help="source yaml file")
      _parser.add_argument(
          "-u",
          "--update",
          help='update with args, instance as "a.b.c=d# d comment"',
      )
      _parser.add_argument(
          "-a", "--append", action="store_true", help="append to a seq"
      )
  
      group = _parser.add_mutually_exclusive_group()
      group.add_argument(
          "-o", "--out-file", help="indicate output yaml file"
      )
      group.add_argument(
          "-i",
          "--inplace",
          action="store_true",
          help="indicate whether result store in origin file",
      )
  
imports: import sys
  import argparse
  from argparse import Namespace
  import os, shutil
  import getopt
  from ruamel.yaml import YAML, yaml_object
  from ruamel.yaml.comments import CommentedSeq, CommentedMap
  from ruamel.yaml.tokens import CommentToken
label_desc: Use image node_id 24 for calling a global function with example usage: _set_update_parser_arg(_parser) without return types