mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-01-23 22:38:36 +01:00
args: cleanup
This commit is contained in:
parent
8f331d1ef1
commit
950ede3644
@ -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.")
|
||||
|
Loading…
Reference in New Issue
Block a user