From d4206cd31c64d0a1e471a05c6028e4948eb3ff2e Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Sun, 17 Apr 2016 12:59:15 +0400 Subject: [PATCH] different exit code for no arguments --- utils/asciinema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/asciinema.py b/utils/asciinema.py index 6524b279..cfa33c87 100755 --- a/utils/asciinema.py +++ b/utils/asciinema.py @@ -112,7 +112,7 @@ if __name__ == '__main__': if len(args)<1: help() - sys.exit(1) + sys.exit(2) for logfile in args: try: