Changing --no_stylesheet to --no-stylesheet in the refguide, and changing

a few more long options with underscores in comments and output
This commit is contained in:
kris 2008-06-08 15:34:07 +00:00
parent 46e5f50b24
commit 9af737cd7f
5 changed files with 6 additions and 6 deletions

View file

@ -244,7 +244,7 @@ class NmapOps {
int max_ips_to_scan; // Used for Random input (-iR) to specify how
// many IPs to try before stopping. 0 means unlimited.
int extra_payload_length; /* These two are for --data_length op */
int extra_payload_length; /* These two are for --data-length op */
char *extra_payload;
unsigned long host_timeout;
/* Delay between probes, in milliseconds */

View file

@ -3323,8 +3323,8 @@ overwhelming requests. Specify <option>--open</option> to only see
<varlistentry>
<term>
<option>--no_stylesheet</option> (Omit XSL stylesheet declaration from XML)
<indexterm><primary>--no_stylesheet</primary></indexterm>
<option>--no-stylesheet</option> (Omit XSL stylesheet declaration from XML)
<indexterm><primary>--no-stylesheet</primary></indexterm>
</term>
<listitem>

View file

@ -132,7 +132,7 @@ struct idle_proxy_info {
u16 probe_port; /* The port we use for probing IP ID infoz */
u16 max_groupsz; /* We won't test groups larger than this ... */
u16 min_groupsz; /* We won't allow the group size to fall below this
level. Affected by --min_parallelism */
level. Affected by --min-parallelism */
double current_groupsz; /* Current group size being used ... depends on
conditions ... won't be higher than
max_groupsz */

View file

@ -1164,7 +1164,7 @@ static void nmap_mass_rdns_core(Target **targets, int num_targets) {
if (o.dns_servers) add_dns_server(o.dns_servers);
else parse_resolvdotconf();
if (servs.size() == 0 && firstrun) error("mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns_servers");
if (servs.size() == 0 && firstrun) error("mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers");
}

View file

@ -232,7 +232,7 @@ typedef enum { devt_ethernet, devt_loopback, devt_p2p, devt_other } devtype;
/* Used for tracing all packets sent or received (eg the
--packet_trace option) */
--packet-trace option) */
class PacketTrace {
public:
/* static const int SEND=1;