Skip to content

Commit

Permalink
prefix-python-modules: document --rename-external
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeoneSerge committed Nov 2, 2023
1 parent a1c27ab commit a208c49
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@

parser = argparse.ArgumentParser("prefix-python-modules")
parser.add_argument("repo_root", type=Path)
parser.add_argument("--rename-external", nargs=3, action="append")
parser.add_argument(
"--rename-external",
nargs=3,
action="append",
help="Takes (old_name, new_name, glob), e.g.:"
' --rename-external utils dino.utils "**/extract_dino_features.py"',
)
parser.add_argument("--dont-catch", action="store_true")
parser.add_argument("--prefix", required=True)
parser.add_argument("--verbose", action="store_true")
Expand Down

0 comments on commit a208c49

Please sign in to comment.