diff --git a/pyproject.toml b/pyproject.toml index 821dcaf3..5a6e555b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "tyro" authors = [ {name = "brentyi", email = "brentyi@berkeley.edu"}, ] -version = "0.8.8" # TODO: currently needs to be synchronized manually with __init__.py. +version = "0.8.9" # TODO: currently needs to be synchronized manually with __init__.py. description = "Strongly typed, zero-effort CLI interfaces" readme = "README.md" license = { text="MIT" } diff --git a/src/tyro/__init__.py b/src/tyro/__init__.py index e7bafa09..95ec1686 100644 --- a/src/tyro/__init__.py +++ b/src/tyro/__init__.py @@ -14,4 +14,4 @@ # TODO: this should be synchronized automatically with the pyproject.toml. -__version__ = "0.8.8" +__version__ = "0.8.9" diff --git a/src/tyro/_argparse_formatter.py b/src/tyro/_argparse_formatter.py index e64e9fda..1eb6a13e 100644 --- a/src/tyro/_argparse_formatter.py +++ b/src/tyro/_argparse_formatter.py @@ -620,7 +620,7 @@ def error(self, message: str) -> NoReturn: message = "Unrecognized or misplaced options:\n\n" for arg, prog in global_unrecognized_arg_and_prog: message += f" {arg} (applied to [green]{prog}[/green])\n" - message += "\nNote that arguments are applied to the directly preceding subcommand, so ordering matters." + message += "\nArguments are applied to the directly preceding subcommand, so ordering matters." # Show similar arguments for keyword options. for unrecognized_argument in unrecognized_arguments: