args: cleanup

This commit is contained in:
Dylan Araps 2018-04-02 16:47:08 +10:00
parent 8f331d1ef1
commit 950ede3644

View File

@ -99,8 +99,7 @@ def parse_args_exit(parser):
parser.error("wal needs to be given arguments to run.")
if args.v:
print("wal", __version__)
sys.exit(0)
parser.exit(0, "wal %s\n" % __version__)
if args.i and args.theme:
parser.error("Conflicting arguments -i and -f.")