janluke / cloup

Library to build command line interfaces based on Click. It extends click with: option groups, constraints (e.g. mutually exclusive params), command aliases, help themes, "did you mean ...?" suggestions and more.
https://cloup.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
103 stars 11 forks source link

Use the same `(Deprecated)` label as in Click #153

Closed kdeldycke closed 1 year ago

kdeldycke commented 1 year ago

Just a little nit-pick, but to have consistent output, I propose to change the case of the deprecated label from commands, and aligns it to Click's.

See Click's code at: https://github.com/pallets/click/blob/b0538df/src/click/core.py#L1331

For the record, this has been changed from (DEPRECATED) to the current (Deprecated) in Click in 8.0.0rc1. Also see: https://github.com/pallets/click/pull/1816.

janluke commented 1 year ago

Thanks for the PR!