different exit code for no arguments

This commit is contained in:
Michel Oosterhof 2016-04-17 12:59:15 +04:00
parent 22b20c8126
commit d4206cd31c
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ if __name__ == '__main__':
if len(args)<1:
help()
sys.exit(1)
sys.exit(2)
for logfile in args:
try: