Also, it appears that the deprecatedHandler is only tested on the string option processing. if the application retains a list of Options and passes those in to be checked the deprecation check is not execute.
On Sat, May 11, 2024 at 12:18 PM Claude Warren <cla...@apache.org> wrote: > Greetings, > > I see that there is a deprecated option in cli 1.7.0, and that it has some > nice data. But I don't see how to display the info in the help. > > It looks like the only option is to print "[Deprecated]" without any > information from the deprecated info. I think the HelpPrinter needs a > function (similar to the command line deprecatedHandler) to convert the > object to a string that can be prefixed to the option help output where the > "[Deprecated]" is now. > > Does this make sense? > > Is there something I am overlooking that already does this? > > Claude > > >