diff --git a/docs/scripting.xml b/docs/scripting.xml
index 3fc4a4e3a..b790ef9ce 100644
--- a/docs/scripting.xml
+++ b/docs/scripting.xml
@@ -754,10 +754,12 @@ Nmap script database, but should be used cautiously since Nmap may contain explo
example of
-nmap -sC --script-args user=foo,pass=',{}=bar',whois={whodb=nofollow+ripe},userdb=C:\Some\Path\To\File
+nmap -sC --script-args 'user=foo,pass=",{}=bar",whois={whodb=nofollow+ripe},userdb=C:\Some\Path\To\File'
- That command results in this Lua table:
+ Notice that the script arguments are surrounded in single quotes. This
+ prevents the shell from interpreting the double quotes and doing
+ automatic string concatenation. The command results in this Lua table:
{user="foo",pass=",{}=bar",whois={whodb="nofollow+ripe"},userdb="C:\\Some\\Path\\To\\File"}