diff --git a/clang_tools/main.py b/clang_tools/main.py index ced38fb..a2723ce 100644 --- a/clang_tools/main.py +++ b/clang_tools/main.py @@ -21,8 +21,8 @@ def get_parser() -> argparse.ArgumentParser: "--install", metavar="VERSION", help="Install clang-tools about a specific version. This can be in the form of" - " a semantic version specification (``x.y.z``, ``x.y``, ``x``) or a path that " - "points to the directory where the binaries already exist.", + " a semantic version specification (``x.y.z``, ``x.y``, ``x``). NOTE: A " + "malformed version specification will cause a silent failure.", ) parser.add_argument( "-t", diff --git a/clang_tools/util.py b/clang_tools/util.py index fa7cd15..710d7ea 100644 --- a/clang_tools/util.py +++ b/clang_tools/util.py @@ -122,7 +122,4 @@ def __init__(self, user_input: str): try: self.info = tuple([int(x) for x in version_tuple]) # type: ignore[assignment] except ValueError: - assert Path( - user_input - ).exists(), "specified version is not a semantic or a path" self.info = (0, 0, 0)