Breaking Changes
ArgAction::Set
,ArgAction::SetTrue
, andArg::Action::SetFalse
now
conflict by default to be likeArgAction::StoreValue
and
ArgAction::IncOccurrences
, requiringcmd.args_override_self(true)
to override instead (#4261)- (help) Line wrapping of help is now behind the existing
wrap_help
feature flag, either enable it or hard code your wraps (#4258)
Features
- Add
From<&OsStr>
,From<OsString>
,From<&str>
, andFrom<String>
tovalue_parser!
(#4257) - Added
StyledStr::ansi()
toDisplay
with ANSI escape codes - (error) Added
Error::render
which returns aStyledStr
- (help)
Command::render_usage
now returns aStyledStr
- (help)
Command::render_help
andCommand::render_long_help
which returnedStyledStr
- (help)
Command::render_usage
now returns aStyledStr
which returnedStyledStr