We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efe1f7e commit c74d320Copy full SHA for c74d320
src/libgetopts/lib.rs
@@ -115,9 +115,9 @@ pub enum Name {
115
pub enum HasArg {
116
/// The option requires an argument.
117
Yes,
118
- /// The option is just a flag, therefore no argument.
+ /// The option takes no argument.
119
No,
120
- /// The option argument is optional and it could or not exist.
+ /// The option argument is optional.
121
Maybe,
122
}
123
@@ -126,9 +126,9 @@ pub enum HasArg {
126
pub enum Occur {
127
/// The option occurs once.
128
Req,
129
- /// The option could or not occur.
+ /// The option occurs at most once.
130
Optional,
131
- /// The option occurs once or multiple times.
+ /// The option occurs zero or more times.
132
Multi,
133
134
0 commit comments