Auto merge of #28582 - jedireza:patch-1, r=huonw

Fixed typo in example code.
This commit is contained in:
bors 2015-09-22 12:59:28 +00:00
commit 0c05492ee1

View file

@ -2064,7 +2064,7 @@ string and add a flag to the Option variable. Once were done that, Getopts does
let mut opts = Options::new();
opts.optopt("f", "file", "Choose an input file, instead of using STDIN.", "NAME");
opts.optflag("h", "help", "Show this usage message.");
opts.optflag("q", "quit", "Silences errors and warnings.");
opts.optflag("q", "quiet", "Silences errors and warnings.");
...
```