Add logging.basicConfig

This commit is contained in:
Star Brilliant 2014-06-14 20:30:11 +08:00
parent f20f92e3bd
commit c5443f6f55

View File

@ -800,6 +800,7 @@ def GetCommentProcessor(input_file):
def main():
logging.basicConfig(format='%(levelname)s: %(message)s')
if len(sys.argv) == 1:
sys.argv.append('--help')
parser = argparse.ArgumentParser()