def approve_pr_arguments(parser):
    """ Approve reviewed pull request.
    """
    parser.add_argument('name', type=str, action='store', nargs=1, help=
        'pull request name')
    parser.add_argument('-s', '--serial', type=str, action='store', help=
        "pull request serial, only required if not using 'review-pr' first")
    parser.add_argument('-m', '--message', action='store', help=
        'Message to add on submit.')
    parser.add_argument('-k', '--keep-index', action='store_true', help=
        'Keep the pr index instead of deleting it after approval.')
