diff options
| author | Conrad Kleinespel <conradk@conradk.com> | 2014-08-04 21:43:30 +0200 |
|---|---|---|
| committer | Conrad Kleinespel <conradk@conradk.com> | 2014-08-04 23:20:49 +0200 |
| commit | c74d320662329922860c5cdaf8cba1797caebea4 (patch) | |
| tree | e20f16415b2d0d7c4b73c0576a1cf2e2260f550a | |
| parent | efe1f7ee9efb5da5613f2cff4f9b810d2d5992d4 (diff) | |
| download | rust-c74d320662329922860c5cdaf8cba1797caebea4.tar.gz rust-c74d320662329922860c5cdaf8cba1797caebea4.zip | |
libgetopts: tweak HasHarg/Occur docs.
| -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, } |
