code: def _get_parser():
      """Return command-line argument parser."""
      p = argparse.ArgumentParser(description=__doc__)
      p.add_argument("infile", help="Neuroimaging volume to convert")
      p.add_argument("outfile", help="Name of output file")
      p.add_argument(
          "--out-dtype",
          action="store",
          help="On-disk data type; valid argument to numpy.dtype()",
      )
      p.add_argument(
          "--image-type",
          action="store",
          help="Name of NiBabel image class to create, e.g. Nifti1Image. "
          "If specified, will be used prior to setting dtype. If unspecified, "
          "a new image like `infile` will be created and converted to a type "
          "matching the extension of `outfile`.",
      )
      p.add_argument(
          "-f",
          "--force",
          action="store_true",
          help="Overwrite output file if it exists, and ignore warnings if possible",
      )
      p.add_argument(
          "-V",
          "--version",
          action="version",
          version=f"{p.prog} {nib.__version__}",
      )
  
      return p
  
imports: import argparse
  import warnings
  from pathlib import Path
  import nibabel
label_desc: Use image node_id 1 for calling a global function with example usage: _get_parser() and returns: p