summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorJon Jensen <jon@endpoint.com>2016-10-28 22:18:11 -0600
committerFlorian Westphal <fw@strlen.de>2016-10-29 20:46:47 +0200
commit1d3c3cb4c8b65c63df6280070ef6f0da7f5148d3 (patch)
tree9cdbe140fd6b11f5827a730131f761a28b69371f /src/main.c
parent6bc84e04c40a2497c4c416556df09e2782059e1c (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 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 39a47bbc..5c72fc0c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -114,9 +114,8 @@ static void show_help(const char *name)
" -i, --interactive Read input from interactive CLI\n"
"\n"
" -n, --numeric When specified once, show network addresses numerically (default behaviour).\n"
-" When specified twice, show Internet services,\n"
-" user IDs and group IDs numerically.\n"
-" When specified thrice, also show protocols numerically.\n"
+" Specify twice to also show Internet services (port numbers) numerically.\n"
+" Specify three times to also show protocols, user IDs, and group IDs numerically.\n"
" -N Translate IP addresses to names.\n"
" -a, --handle Output rule handle.\n"
" -I, --includepath <directory> Add <directory> to the paths searched for include files.\n"