[ 
https://issues.apache.org/jira/browse/CLI-332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claude Warren updated CLI-332:
------------------------------
    Description: 
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().

 

  was: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.


> Deprecated option details not specified in HelpFormatter
> --------------------------------------------------------
>
>                 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
>            Priority: Minor
>
> 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)

Reply via email to