diff --git a/README.md b/README.md
index 6fe159140020188b2a7f1e7cee57adf601d5eaa8..81bf03cbdf813c3137b03c58b25f3509c6cb3312 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@ If your code does compile without these two options but does not compile with th
 
 A sample invocation of the command:
 
-`g++ src/sample_4.cpp -o sample_4 -std=c++11 -Wall -Werr`
+`g++ src/sample_4.cpp -o sample_4 -std=c++11 -Wall -Werror`
 
 And the sample program can then be run by calling