diff --git a/doc/nanorc.5 b/doc/nanorc.5
index ea13c49a5fac9b588b587845bd41c903cee87415..a30e0eb0c9ee5f7f03f381cd540e5dcdd83b2e75 100644
--- a/doc/nanorc.5
+++ b/doc/nanorc.5
@@ -102,7 +102,7 @@ This overrides the option \fBquickblank\fR.
 Use cut-from-cursor-to-end-of-line by default, instead of cutting the whole line.
 (The old form of this option, '\fBset cut\fR', is deprecated.)
 .TP
-.B set statuscolor \fIfgcolor\fR,\fIbgcolor\fR
+.B set errorcolor \fIfgcolor\fR,\fIbgcolor\fR
 Use this color combination for the status bar when an error message is displayed.
 See \fBset titlecolor\fR for valid color names.
 .TP