def parse_args(argv):
p = argparse.ArgumentParser(<EOL>description='<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>' % PROJECT_URL,<EOL>prog='<STR_LIT>'<EOL>)<EOL>p.add_argument('<STR_LIT>', '<STR_LIT>', action='<STR_LIT:version>',<EOL>version='<STR_LIT>' + VERSION)<EOL>p.add_argument('<STR_LIT>', '<STR_LIT>', dest='<STR_LIT>', action='<STR_LIT:count>',<EOL>default=<NUM_LIT:0>,<EOL>help='<STR_LIT>')<EOL>m = p.add_mutually_exclusive_group()<EOL>m.add_argument('<STR_LIT>', '<STR_LIT>', dest='<STR_LIT>', action='<STR_LIT>',<EOL>default=True, help='<STR_LIT>'<EOL>'<STR_LIT>')<EOL>m.add_argument('<STR_LIT>', '<STR_LIT>', dest='<STR_LIT>', action='<STR_LIT>',<EOL>default=True, help='<STR_LIT>'<EOL>'<STR_LIT>')<EOL>p.add_argument('<STR_LIT>', '<STR_LIT>', dest='<STR_LIT>', action='<STR_LIT:store>', type=str,<EOL>default='<STR_LIT>', help='<STR_LIT>'<EOL>'<STR_LIT>')<EOL>p.add_argument('<STR_LIT>', '<STR_LIT>', dest='<STR_LIT>', action='<STR_LIT:store>',<EOL>type=str, default=None,<EOL>help='<STR_LIT>'<EOL>'<STR_LIT>')<EOL>p.add_argument('<STR_LIT:-c>', '<STR_LIT>', dest='<STR_LIT>', action='<STR_LIT:store>',<EOL>type=str, default='<STR_LIT>',<EOL>help='<STR_LIT>')<EOL>p.add_argument('<STR_LIT>', '<STR_LIT>', dest='<STR_LIT>', type=int,<EOL>action='<STR_LIT:store>', default=<NUM_LIT:7>,<EOL>help='<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>')<EOL>g = p.add_mutually_exclusive_group()<EOL>g.add_argument('<STR_LIT>', '<STR_LIT>', dest='<STR_LIT>', action='<STR_LIT>', type=str,<EOL>help='<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>')<EOL>g.add_argument('<STR_LIT>', '<STR_LIT>', dest='<STR_LIT:user>', action='<STR_LIT:store>', type=str,<EOL>help='<STR_LIT>'<EOL>'<STR_LIT>')<EOL>args = p.parse_args(argv)<EOL>return args<EOL>
Use Argparse to parse command-line arguments.

:param argv: list of arguments to parse (``sys.argv[1:]``)
:type argv: ``list``
:return: parsed arguments
:rtype: :py:class:`argparse.Namespace`