Skip to content

Commit c8335b3

Browse files
authored
fix: update args (#1265)
# Motivation <!-- Why is this change necessary? --> # Content <!-- Please include a summary of the change --> # Testing <!-- How was the change tested? --> # Please check the following before marking your PR as ready for review - [ ] I have added tests for my changes - [ ] I have updated the documentation or added new documentation as needed
1 parent 8cf3184 commit c8335b3

File tree

1 file changed

+1
-2
lines changed
  • src/codegen/cli/commands/update

1 file changed

+1
-2
lines changed

src/codegen/cli/commands/update/main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ def update(
4747
codegen update # Update to latest version
4848
codegen update --check # Check for updates
4949
codegen update --version 1.2.3 # Update to specific version
50-
codegen update --dry-run # Preview update without making changes
5150
"""
5251
# Handle legacy mode
5352
if legacy:
@@ -74,7 +73,7 @@ def update(
7473
console.print(f" {ver_info.version}{marker}")
7574
else:
7675
# Perform update
77-
if not manager.perform_update(target_version=version, dry_run=dry_run):
76+
if not manager.perform_update(target_version=version):
7877
raise typer.Exit(1)
7978

8079

0 commit comments

Comments
 (0)