mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 06:44:16 +00:00
chore: fix some comments
Signed-off-by: rustco <ruster@111.com>
This commit is contained in:
parent
9c1153d6b4
commit
462c5ada4a
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