aboutsummaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/include/usage.h b/include/usage.h
index eab96011e..4a18d6a3a 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2416,21 +2416,23 @@
#endif
-
#define netstat_trivial_usage \
- "[-laenrtuwx]"
+ "[-laentuwxr"USE_FEATURE_NETSTAT_WIDE("W")"]"
#define netstat_full_usage \
"Display networking information" \
- "\n\nOptions:\n" \
- " -l Display listening server sockets\n" \
- " -a Display all sockets (default: connected)\n" \
- " -e Display other/more information\n" \
- " -n Don't resolve names\n" \
- " -r Display routing table\n" \
- " -t Tcp sockets\n" \
- " -u Udp sockets\n" \
- " -w Raw sockets\n" \
- " -x Unix sockets"
+ "\n\nOptions:" \
+ "\n -l Display listening server sockets" \
+ "\n -a Display all sockets (default: connected)" \
+ "\n -e Display other/more information" \
+ "\n -n Don't resolve names" \
+ "\n -t Tcp sockets" \
+ "\n -u Udp sockets" \
+ "\n -w Raw sockets" \
+ "\n -x Unix sockets" \
+ "\n -r Display routing table" \
+ USE_FEATURE_NETSTAT_WIDE( \
+ "\n -W Display with no column truncation" \
+ )
#define nice_trivial_usage \
"[-n ADJUST] [COMMAND [ARG] ...]"