Index: nmap.cc =================================================================== --- nmap.cc (revision 6857) +++ nmap.cc (working copy) @@ -625,6 +625,7 @@ {"top_ports", required_argument, 0, 0}, #ifndef NOLUA {"script", required_argument, 0, 0}, + {"scripts", required_argument, 0, 0}, {"script-trace", no_argument, 0, 0}, {"script_trace", no_argument, 0, 0}, {"script-updatedb", no_argument, 0, 0}, @@ -659,7 +660,8 @@ switch(arg) { case 0: #ifndef NOLUA - if (strcmp(long_options[option_index].name, "script") == 0) { + if (strcmp(long_options[option_index].name, "script") == 0 || + strcmp(long_options[option_index].name, "scripts") == 0 ) { o.script = 1; o.chooseScripts(optarg); } else if(optcmp(long_options[option_index].name,"script-args")==0){