added --script-args to the usage-text (nmap.cc)

fixed to typos in error messages (nse_nsock.cc)
added a short description of --script-args to refguide.xml
This commit is contained in:
stoiko 2007-08-16 10:51:27 +00:00
parent d073a19105
commit e765af4103
3 changed files with 34 additions and 3 deletions

View file

@ -256,7 +256,9 @@ printf("%s %s ( %s )\n"
#ifndef NOLUA
"SCRIPT SCAN:\n"
" -sC: equivalent to --script=safe,intrusive\n"
" --script=<lua scripts>: <lua scripts> is a comma separated list of dirs or scripts\n"
" --script=<lua scripts>: <lua scripts> is a comma separated list of \n"
" directories, script-files or script-categories\n"
" --script-args=<n1=v1,[n2=v2,[n3=v3]]>: provide arguments to scripts\n"
" --script-trace: Show all data sent and received\n"
" --script-updatedb: Update the script database.\n"
#endif