def main():
    description = 'Package Compare/Verifier tool.'
parser = argparse.ArgumentParser(description=description, epilog=
    '--compare and --verify are mutually exclusive')
parser.add_argument('f', action='store', nargs=1, help=
    'File Name where result is stored.', metavar='outFileName')
group = parser.add_mutually_exclusive_group(required=False)
group.add_argument('-c', '--compare', action='store', nargs=2, dest=
    'packageInfo', help='Compare two packages.', metavar=('Package1',
    'Package2'))
group.add_argument('-v', '--verify', action='store', nargs=1, dest=
    'packageName', help='Verify Content of package.', metavar='Package')
args = parser.parse_args()
if __name__ == '__main__':
    main()
Как кодировать комбинированные параметры argparse в python