Skip to content

Commit 84f20d3

Browse files
committed
fix: remove duplicate code
1 parent f15f170 commit 84f20d3

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

clang_tools/wheel.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,6 @@ def get_parser() -> ArgumentParser:
2222
def main() -> int:
2323
parser = get_parser()
2424
args = parser.parse_args()
25-
args = parser.parse_args()
26-
path = _resolve_install(args.tool, args.version)
27-
if path:
28-
print(f"{args.tool} installed at: {path}")
29-
return 0
30-
parser.add_argument(
31-
"--version",
32-
default=None,
33-
help="Version to install (e.g., 21 or 21.1.2). Defaults to latest compatible version.",
34-
)
35-
args = parser.parse_args()
3625
path = _resolve_install(args.tool, args.version)
3726
if path:
3827
print(f"{args.tool} installed at: {path}")

0 commit comments

Comments
 (0)