proton: Complain if verb is missing

This commit is contained in:
Andrew Eikum 2018-02-08 14:13:05 -06:00
parent 7ef0476c2b
commit 6adef625fd

2
proton
View File

@ -182,7 +182,7 @@ elif sys.argv[1] == "translatepath":
path = subprocess.check_output([wine_path, "winepath", "-w", sys.argv[2]], env=env, stderr=open("/dev/null", "w"))
stdout.write(path)
else:
#???
stdout.write("Need a verb.")
sys.exit(1)
sys.exit(0)