diff options
author | Jon Jensen <jon@endpoint.com> | 2016-10-28 22:18:11 -0600 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2016-10-29 20:46:47 +0200 |
commit | 1d3c3cb4c8b65c63df6280070ef6f0da7f5148d3 (patch) | |
tree | 9cdbe140fd6b11f5827a730131f761a28b69371f /doc | |
parent | 6bc84e04c40a2497c4c416556df09e2782059e1c (diff) |
Correct description of -n/--numeric option
"When used twice" was used twice in the manpage. :)
And as Florian Westphal pointed out, it was also incorrect
for the -nn case.
Update the manpage and built-in help in main.c to match actual behavior.
Signed-off-by: Jon Jensen <jon@endpoint.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/nft.xml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/doc/nft.xml b/doc/nft.xml index cc1e4a4c..827458ac 100644 --- a/doc/nft.xml +++ b/doc/nft.xml @@ -111,12 +111,10 @@ vi:ts=4 sw=4 <term><option>-n, --numeric</option></term> <listitem> <para> - Numeric output: Addresses and other information - that might need network traffic to resolve to symbolic names - are shown numerically (default behaviour). When used twice, - internet services are translated. When used twice, internet - services and UIDs/GIDs are also shown numerically. When used - three times, protocol numbers are also shown numerically. + Show data numerically. When used once (the default behaviour), skip + lookup of addresses to symbolic names. Use twice to also show Internet + services (port numbers) numerically. Use three times to also show + protocols and UIDs/GIDs numerically. </para> </listitem> </varlistentry> @@ -124,7 +122,7 @@ vi:ts=4 sw=4 <term><option>-N</option></term> <listitem> <para> - Translate IP addresses to DNS names. + Translate IP addresses to names. Usually requires network traffic for DNS lookup. </para> </listitem> </varlistentry> |