diff --git a/doc/general.texi b/doc/general.texi
index 3459277dadaa2b896b658dd50bc8362515f4543e..c97a7575c802e2755fbab804ca1fc150d9a18b40 100644
--- a/doc/general.texi
+++ b/doc/general.texi
@@ -961,7 +961,7 @@ extern __declspec(dllimport) const AVPixFmtDescriptor av_pix_fmt_descriptors[];
 
 Note that using import libraries created by dlltool requires
 the linker optimization option to be set to
-"References: Keep Unreferenced Data (/OPT:NOREF)", otherwise
+"References: Keep Unreferenced Data (@code{/OPT:NOREF})", otherwise
 the resulting binaries will fail during runtime. This isn't
 required when using import libraries generated by lib.exe.
 This issue is reported upstream at