mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
commit
5da658c5a0
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ Some practices to avoid breaking changes
|
|||
time table and allow us to process feedback from early adopters before
|
||||
requiring everyone to process them on the next major version.
|
||||
- Please keep API addition and deprecation in separate commits in a PR to make it easier to review
|
||||
- Develop the feature behind an `unstable-<name>` feature flag with a stablization tracking issue (e.g. [Multicall Tracking issue](https://github.com/clap-rs/clap/issues/2861))
|
||||
- Develop the feature behind an `unstable-<name>` feature flag with a stabilization tracking issue (e.g. [Multicall Tracking issue](https://github.com/clap-rs/clap/issues/2861))
|
||||
|
||||
### Version Support Policy
|
||||
|
||||
|
|
|
@ -677,7 +677,7 @@ impl<'cmd> Parser<'cmd> {
|
|||
debug!("Parser::is_new_arg: --<something> found");
|
||||
true
|
||||
} else if next.is_short() {
|
||||
// If this is a short flag, this is a new arg. But a singe '-' by
|
||||
// If this is a short flag, this is a new arg. But a single '-' by
|
||||
// itself is a value and typically means "stdin" on unix systems.
|
||||
debug!("Parser::is_new_arg: -<something> found");
|
||||
true
|
||||
|
|
Loading…
Reference in a new issue