code: def register_options(cls, register):
      
      super(BundleMixin, cls).register_options(register)
      register('--archive', choices=list(archive.TYPE_NAMES),
               fingerprint=True,
               help='Create an archive of this type from the bundle. '
                    'This option is also defined in app target. '
                    'Precedence is CLI option > target option > pants.ini option.')
      # `target.id` ensures global uniqueness, this flag is provided primarily for
      # backward compatibility.
      register('--use-basename-prefix', advanced=True, type=bool,
               help='Use target basename to prefix bundle folder or archive; otherwise a unique '
                    'identifier derived from target will be used.')
docs: Register options common to all bundle tasks.