def add_prettyprint_args(parser):
    """Adds optional arguments for controlling pretty print behavior.
    """
    parser.add_argument('--no-color', dest='use_color', action=
        'store_false', default=True, help=
        'prevent use of ANSI color code escapes for text output')
    parser.add_argument('--no-git', dest='use_git', action='store_false',
        default=True, help=
        'prevent use of git for formatting diff/merge text output')
    parser.add_argument('--no-use-diff', dest='use_diff', action=
        'store_false', default=True, help=
        'prevent use of diff/diff3 for formatting diff/merge text output')
