Skip to content

Commit 96dab6a

Browse files
committed
fix: cleanup command not accepting version arg
Signed-off-by: Frost Ming <me@frostming.com>
1 parent ac10fd7 commit 96dab6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/onepm/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def main():
5454
case "use":
5555
core.use_package_manager(args.spec)
5656
case "cleanup":
57-
core.cleanup(args.name)
57+
core.cleanup(args.name, args.version)
5858
case "list" | "ls":
5959
for installation in core.get_installations(args.name):
6060
print(f"- {installation.version} ({installation.venv})")

0 commit comments

Comments
 (0)