args: Handle -i and --theme.

This commit is contained in:
Dylan Araps 2018-04-02 14:31:12 +10:00
parent 332dfe5283
commit 201b4d9c89

View File

@ -103,6 +103,12 @@ def process_args(args):
" Refer to \"wal -h\" for more info.")
sys.exit(1)
if not args.i and not args.theme:
print("error: No input specified.\n"
" --theme and -i are required.\n"
" Refer to \"wal -h\" for more info.")
sys.exit(1)
if args.v:
print("wal", __version__)
sys.exit(0)