about summary refs log tree commit diff
diff options
context:
space:
mode:
authorReza Akhavan <reza@akhavan.me>2015-09-21 21:33:15 -0700
committerReza Akhavan <reza@akhavan.me>2015-09-21 21:33:15 -0700
commit6de473addd874834fbd7fe42428564fc17159d81 (patch)
tree9a3d3a7d8cb10a41d24cb9286bc0a5bce0b61721
parente9d2587766a30d30491ec96dab5cc5d741ae043a (diff)
downloadrust-6de473addd874834fbd7fe42428564fc17159d81.tar.gz
rust-6de473addd874834fbd7fe42428564fc17159d81.zip
Update error-handling.md
-rw-r--r--src/doc/trpl/error-handling.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/error-handling.md b/src/doc/trpl/error-handling.md
index bf7b9222fa7..a54ba91da2e 100644
--- a/src/doc/trpl/error-handling.md
+++ b/src/doc/trpl/error-handling.md
@@ -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.");
 ...
 ```