code: def AddStorageMediaImageOptions(self, argument_group):
      
      argument_group.add_argument(
          '--partitions', '--partition', dest='partitions', action='store',
          type=str, default=None, help=(
              'Define partitions to be processed. A range of '
              'partitions can be defined as: "3..5". Multiple partitions can '
              'be defined as: "1,3,5" (a list of comma separated values). '
              'Ranges and lists can also be combined as: "1,3..5". The first '
              'partition is 1. All partitions can be specified with: "all".'))
  
      argument_group.add_argument(
          '--volumes', '--volume', dest='volumes', action='store', type=str,
          default=None, help=(
              'Define volumes to be processed. A range of volumes can be defined '
              'as: "3..5". Multiple volumes can be defined as: "1,3,5" (a list '
              'of comma separated values). Ranges and lists can also be combined '
              'as: "1,3..5". The first volume is 1. All volumes can be specified '
              'with: "all".'))
docs: Adds the storage media image options to the argument group.
  
      Args:
        argument_group (argparse._ArgumentGroup): argparse argument group.