def get_options():
    parser = argparse.ArgumentParser(
        description='Create a Gerrit dashboard URL from launchpad '
                    '"In Progress bugs')
    parser.add_argument('projects', nargs='+',
                        metavar='projects',
                        help='Launchpad Projects')
    parser.add_argument('--milestone', default=None,
                        help='Project Milestone')
    parser.add_argument('--tag', default=None,
                        help='Project Tag')
    return parser.parse_args()
Parse command line arguments and options.
dataset/ETHPy150Open openstack/gerrit-dash-creator/gerrit_dash_creator/cmd/bugs.py/get_options