def add_common_parser_args(parser):
    """Parse CLI common login and repo arguments."""
    parser.add_argument('repository', help=
        'Repository name to generate the Changelog for, in the form user/repo or org/repo (e.g. spyder-ide/spyder)'
        )
    parser.add_argument('-u', '--username', action='store', dest='username',
        default='', help='Github user name')
    parser.add_argument('-p', '--password', action='store', dest='password',
        default='', help='Github user password')
    parser.add_argument('-t', '--token', action='store', dest='token',
        default='', help='Github access token')
    parser.add_argument('-zt', '--zenhub-token', action='store', dest=
        'zenhub_token', default='', help='Zenhub access token')
    return parser
