Update error-handling.md

This commit is contained in:
Reza Akhavan 2015-09-21 21:33:15 -07:00
parent e9d2587766
commit 6de473addd

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.");
...
```