[ https://issues.apache.org/jira/browse/CLI-332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory resolved CLI-332. --------------------------------- Fix Version/s: 1.7.1 Resolution: Fixed > Add optional HelpFormatter Function to document Deprecated options > ------------------------------------------------------------------ > > Key: CLI-332 > URL: https://issues.apache.org/jira/browse/CLI-332 > Project: Commons CLI > Issue Type: Improvement > Components: Help formatter > Affects Versions: 1.7.0 > Reporter: Claude Warren > Assignee: Claude Warren > Priority: Minor > Fix For: 1.7.1 > > > Currently the HelpFormatter just prings "[Deprecated]" at the front of the > description for items that are deprecated. It would be nice to be able to > provide more information in the help output. > > My proposal is to add a Function<Option, String> that will be applied to > deprecated Options and to provide the text output. The default > implementation will return "[Deprecated} "+option.getDescription(). > -- This message was sent by Atlassian Jira (v8.20.10#820010)