def new_pr_arguments(parser):
    """ Create a new pull request.
    """
    parser.add_argument('name', metavar='NAME', type=str, action='store',
        nargs=1, help='pull request name')
    parser.add_argument('target', metavar='TARGETSPEC', type=str, nargs=1,
        action='store', help="target index of form 'USER/NAME'")
    parser.add_argument('pkgspec', metavar='PKGSPEC', type=str, nargs='*',
        default=None, action='store', help=
        "releases in format 'name==version' which are added to this pull request."
        )
