Skip to content

Commit

Permalink
actually exit if --copy and --use-plan
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan King committed Oct 30, 2023
1 parent 4dbe534 commit b1ad86c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hail/python/hailtop/hailctl/fs/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def sync(
if use_plan:
if copy:
print('Do not specify --copy with --use-plan. Create the plan with --make-plan then call --use-plan without any --copy.')
typer.Exit(1)
raise typer.Exit(1)
asyncio.run(aiotools_sync(use_plan, gcs_requester_pays_project, verbose, max_parallelism))


Expand Down

0 comments on commit b1ad86c

Please sign in to comment.