code: def get_argumentparser(add_help=True):
      parser = argparse.ArgumentParser(
          "Print a tree showing NetworkX functions implemented by nx-cugraph",
          add_help=add_help,
      )
      parser.add_argument(
          "--by",
          choices=["networkx_path", "plc", "version_added"],
          default="networkx_path",
          help="How to group functions",
      )
      parser.add_argument(
          "--dispatch-name",
          "--dispatch_name",
          action="store_true",
          help="Show the dispatch name in parentheses if different from NetworkX name",
      )
      parser.add_argument(
          "--dispatch-name-always",
          "--dispatch_name_always",
          action="store_true",
          help="Always show the dispatch name in parentheses",
      )
      parser.add_argument(
          "--plc",
          "--pylibcugraph",
          action="store_true",
          help="Show the used pylibcugraph function in parentheses",
      )
      parser.add_argument(
          "--version-added",
          "--version_added",
          action="store_true",
          help="Show the version added in parentheses",
      )
      parser.add_argument(
          "--networkx-path",
          "--networkx_path",
          action="store_true",
          help="Show the full networkx path in parentheses",
      )
      parser.add_argument(
          "--incomplete",
          action="store_true",
          help="Show which functions are incomplete",
      )
      parser.add_argument(
          "--different",
          action="store_true",
          help="Show which functions are different",
      )
      return parser
  
file_path: cugraph/python/nx-cugraph/nx_cugraph/scripts/print_tree.py
imports: import argparse
  import re
  import sys
  import networkx
  from nx_cugraph.scripts.print_table import get_path_to_info
label_desc: Use image node_id 5 for calling a global function with example usage: get_argumentparser(add_help) and returns: parser