mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-11-12 20:23:15 -06:00
try again
This commit is contained in:
parent
e7476a6863
commit
2dddbf31af
1 changed files with 4 additions and 3 deletions
|
@ -1166,10 +1166,11 @@ class Viv:
|
|||
bin = args.reqs[0]
|
||||
output = c.binparent / args.reqs[0]
|
||||
else:
|
||||
error("please specify an explicit -b/--bin and -o/--output", code=1)
|
||||
if not (args.bin and args.output):
|
||||
error("please specify an explicit -b/--bin and -o/--output", code=1)
|
||||
|
||||
if args.output:
|
||||
output = args.output
|
||||
args.bin = bin
|
||||
args.output = output
|
||||
|
||||
if output.is_file():
|
||||
error(f"{output} already exists...exiting", code=1)
|
||||
|
|
Loading…
Reference in a new issue