diff options
| author | bors <bors@rust-lang.org> | 2014-08-06 03:11:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-08-06 03:11:29 +0000 |
| commit | 2a47fa708cfbf6b90a8ffacbaf00b8250bfa72cd (patch) | |
| tree | 27670085b57c88ac5af21825e99f2ec2e17fdb2b /src | |
| parent | f5ac41185a821681f4bfaf93ef0569955d24ef4a (diff) | |
| parent | c74d320662329922860c5cdaf8cba1797caebea4 (diff) | |
| download | rust-2a47fa708cfbf6b90a8ffacbaf00b8250bfa72cd.tar.gz rust-2a47fa708cfbf6b90a8ffacbaf00b8250bfa72cd.zip | |
auto merge of #16252 : conradkleinespel/rust/master, r=alexcrichton
I found the current docs to be a little confusing. I believe this makes them straight to the point and less confusing.
Diffstat (limited to 'src')
| -rw-r--r-- | src/libgetopts/lib.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libgetopts/lib.rs b/src/libgetopts/lib.rs index 922bf768854..3c6736d5361 100644 --- a/src/libgetopts/lib.rs +++ b/src/libgetopts/lib.rs @@ -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, } @@ -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, } |
