def build_cli_parser():

    usage = "usage: %prog [options]"
    desc = "Validate a Carbon Black feed"

    parser = optparse.OptionParser(usage=usage, description=desc)
    
    parser.add_option("-f", "--feedfile", action="store", type="string", dest="feed_filename",
                      help="Feed Filename to validate")
    parser.add_option("-p", "--pedantic", action="store_true", default=False, dest="pedantic",
                      help="Validates that no non-standard JSON elements exist")
    parser.add_option("-e", "--exclude", action="store", default=None, dest="exclude",
                      help="Filename of 'exclude' list - newline delimited indicators to consider invalid")
    parser.add_option("-i", "--include", action="store", default=None, dest="include",
                      help="Filename of 'include' list - newline delimited indicators to consider valid")

    return parser
Return the revision in which the node's path was created.
dataset/ETHPy150Open carbonblack/community/cb/alliance_feed_examples/query_feed_generator/cbfeeds/validate_feed.py/build_cli_parser--crossover with--dataset/ETHPy150Open edgewall/trac/tracopt/versioncontrol/svn/svn_fs.py/SubversionNode.get_branch_origin