def METHOD_NAME(parser):
    parser.add_argument('-c', '--show-commands', action='store_true',
                        help='show commands')
    parser.add_argument('-v', '--verbose', action='store_true',
                        help='show detailed test information')
    parser.add_argument('-d', '--diff', action='store_true',
                        help='show diff on failure')
    parser.add_argument('-x', '--xdiff', action='store_true',
                        help='show diff on expected failure')
    parser.add_argument('-g', '--debug', action='store_true',
                        help='generate debug files (.log, .unc)')
    parser.add_argument('-e', '--executable', type=str, required=True,
                        metavar='PATH',
                        help='uncrustify executable to test')
    parser.add_argument('--git', type=str, default=config.git_exe,
                        metavar='PATH',
                        help='git executable to use to generate diffs')
    parser.add_argument('--result-dir', type=str, default=os.getcwd(),
                        metavar='DIR',
                        help='location to which results will be written')