docs: typo in an example
diff --git a/README.rst b/README.rst
index 92b89ec..d98f8cd 100644
--- a/README.rst
+++ b/README.rst
@@ -217,7 +217,7 @@
 
     [codespell]
     dictionary = mydict,-
-    ignore-words = bar,-foo
+    ignore-words-list = bar,-foo
 
 instead of these invalid entries:
 
@@ -225,7 +225,7 @@
 
     [codespell]
     dictionary = -,mydict
-    ignore-words = -foo,bar
+    ignore-words-list = -foo,bar
 
 .. _tomli: https://pypi.org/project/tomli/