Skip to content

Commit

Permalink
auto merge of #16252 : conradkleinespel/rust/master, r=alexcrichton
Browse files Browse the repository at this point in the history
I found the current docs to be a little confusing. I believe this makes them straight to the point and less confusing.
  • Loading branch information
bors committed Aug 6, 2014
2 parents f5ac411 + c74d320 commit 2a47fa7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libgetopts/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ pub enum Name {
pub enum HasArg {
/// The option requires an argument.
Yes,
/// The option is just a flag, therefore no argument.
/// The option takes no argument.
No,
/// The option argument is optional and it could or not exist.
/// The option argument is optional.
Maybe,
}

Expand All @@ -126,9 +126,9 @@ pub enum HasArg {
pub enum Occur {
/// The option occurs once.
Req,
/// The option could or not occur.
/// The option occurs at most once.
Optional,
/// The option occurs once or multiple times.
/// The option occurs zero or more times.
Multi,
}

Expand Down

0 comments on commit 2a47fa7

Please sign in to comment.