Skip to content

Commit

Permalink
patch_branch: tweak option type
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed May 1, 2024
1 parent 0ade0b7 commit d73f2ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/patch_branch.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@click.command()
@click.argument("branch")
@click.argument("patch-file")
@click.argument("patch-file", type=click.Path(exists=True, dir_okay=False))
def main(branch, patch_file):
patch_file = os.path.abspath(patch_file)
for repo in get_repositories():
Expand Down

0 comments on commit d73f2ea

Please sign in to comment.