diff --git a/salt/modules/cmdmod.py b/salt/modules/cmdmod.py
index <HASH>..<HASH> 100644
--- a/salt/modules/cmdmod.py
+++ b/salt/modules/cmdmod.py
@@ -982,8 +982,8 @@ def run(cmd,
         .. warning::
 
             For versions 2018.3.3 and above on macosx while using runas,
-            to pass special characters to the command you need to escape
-            the characters on the shell.
+            on linux while using run, to pass special characters to the
+            command you need to escape the characters on the shell.
 
             Example:
doc: escape special characters on linux for cmd.run