From 6de473addd874834fbd7fe42428564fc17159d81 Mon Sep 17 00:00:00 2001 From: Reza Akhavan Date: Mon, 21 Sep 2015 21:33:15 -0700 Subject: [PATCH] Update error-handling.md --- src/doc/trpl/error-handling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); ... ```