File tree 2 files changed +2
-5
lines changed
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ def get_parser() -> argparse.ArgumentParser:
21
21
"--install" ,
22
22
metavar = "VERSION" ,
23
23
help = "Install clang-tools about a specific version. This can be in the form of"
24
- " a semantic version specification (``x.y.z``, ``x.y``, ``x``) or a path that "
25
- "points to the directory where the binaries already exist ." ,
24
+ " a semantic version specification (``x.y.z``, ``x.y``, ``x``). NOTE: A "
25
+ "malformed version specification will cause a silent failure ." ,
26
26
)
27
27
parser .add_argument (
28
28
"-t" ,
Original file line number Diff line number Diff line change @@ -122,7 +122,4 @@ def __init__(self, user_input: str):
122
122
try :
123
123
self .info = tuple ([int (x ) for x in version_tuple ]) # type: ignore[assignment]
124
124
except ValueError :
125
- assert Path (
126
- user_input
127
- ).exists (), "specified version is not a semantic or a path"
128
125
self .info = (0 , 0 , 0 )
You can’t perform that action at this time.
0 commit comments