Skip to content

Commit ef7e945

Browse files
committed
Fix comment.
1 parent ed0f014 commit ef7e945

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libextra/getopts.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ pub fn optflag(name: &str) -> Opt {
140140
return Opt {name: mkname(name), hasarg: No, occur: Optional};
141141
}
142142

143-
/// Create an option that is optional and does not take an argument
143+
/** Create an option that is optional, does not take an argument,
144+
* and may occur multiple times.
145+
*/
144146
pub fn optflagmulti(name: &str) -> Opt {
145147
return Opt {name: mkname(name), hasarg: No, occur: Multi};
146148
}

0 commit comments

Comments
 (0)