From 9af737cd7f8336c1353377857e98ae81a00774b4 Mon Sep 17 00:00:00 2001 From: kris Date: Sun, 8 Jun 2008 15:34:07 +0000 Subject: [PATCH] Changing --no_stylesheet to --no-stylesheet in the refguide, and changing a few more long options with underscores in comments and output --- NmapOps.h | 2 +- docs/refguide.xml | 4 ++-- idle_scan.cc | 2 +- nmap_dns.cc | 2 +- tcpip.h | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/NmapOps.h b/NmapOps.h index 9bc5ea05e..9f44aa8b8 100644 --- a/NmapOps.h +++ b/NmapOps.h @@ -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 */ diff --git a/docs/refguide.xml b/docs/refguide.xml index 91d84e8c0..1573052fa 100644 --- a/docs/refguide.xml +++ b/docs/refguide.xml @@ -3323,8 +3323,8 @@ overwhelming requests. Specify to only see - (Omit XSL stylesheet declaration from XML) - --no_stylesheet + (Omit XSL stylesheet declaration from XML) + --no-stylesheet diff --git a/idle_scan.cc b/idle_scan.cc index 3f442c291..8b10e9ad6 100644 --- a/idle_scan.cc +++ b/idle_scan.cc @@ -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 */ diff --git a/nmap_dns.cc b/nmap_dns.cc index ce7b4af6b..05552807e 100644 --- a/nmap_dns.cc +++ b/nmap_dns.cc @@ -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"); } diff --git a/tcpip.h b/tcpip.h index c5af557f9..49be4310c 100644 --- a/tcpip.h +++ b/tcpip.h @@ -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;