Fix comment.
This commit is contained in:
parent
ed0f014935
commit
ef7e94550c
1 changed files with 3 additions and 1 deletions
|
@ -140,7 +140,9 @@ pub fn optflag(name: &str) -> Opt {
|
|||
return Opt {name: mkname(name), hasarg: No, occur: Optional};
|
||||
}
|
||||
|
||||
/// Create an option that is optional and does not take an argument
|
||||
/** Create an option that is optional, does not take an argument,
|
||||
* and may occur multiple times.
|
||||
*/
|
||||
pub fn optflagmulti(name: &str) -> Opt {
|
||||
return Opt {name: mkname(name), hasarg: No, occur: Multi};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue