If I run python a.py -h on tyro==0.6.6, I get the following:
usage: a.py [-h]
Main docstring
╭─ options ─────────────────────────────────────────╮
│ -h, --help show this help message and exit │
╰───────────────────────────────────────────────────╯
But if I run the same command on tyro==0.7.0 or any other version after that, including the most recent master, I get the following:
usage: a.py [-h]
Foo docstring
╭─ options ─────────────────────────────────────────╮
│ -h, --help show this help message and exit │
╰───────────────────────────────────────────────────╯
I will try to find a fix now, but just checking that this is indeed a regression.
Consider the following snippet:
If I run
python a.py -h
ontyro==0.6.6
, I get the following:But if I run the same command on
tyro==0.7.0
or any other version after that, including the most recent master, I get the following:I will try to find a fix now, but just checking that this is indeed a regression.