Add logging.basicConfig
This commit is contained in:
parent
f20f92e3bd
commit
c5443f6f55
@ -800,6 +800,7 @@ def GetCommentProcessor(input_file):
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
logging.basicConfig(format='%(levelname)s: %(message)s')
|
||||||
if len(sys.argv) == 1:
|
if len(sys.argv) == 1:
|
||||||
sys.argv.append('--help')
|
sys.argv.append('--help')
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
|
Loading…
Reference in New Issue
Block a user