- switch --trim to --notrim .. make it less confusing

This commit is contained in:
Radek Vokál 2006-06-07 10:37:05 +00:00
parent 7ba2592f6f
commit 3f54dc3cfb
2 changed files with 7 additions and 4 deletions

View File

@ -6,7 +6,7 @@
Print routing information from the route cache. Print routing information from the route cache.
+.SS "\-Z \-\-context" +.SS "\-Z \-\-context"
+If SELinux enabled print SELinux context. +If SELinux enabled print SELinux context.
+.SS "\-T \-\-trim" +.SS "\-T \-\-notrim"
+Stop trimming long addresses. +Stop trimming long addresses.
.SS delay .SS delay
Netstat will cycle printing through statistics every Netstat will cycle printing through statistics every
@ -54,7 +54,7 @@
{"fib", 0, 0, 'F'}, {"fib", 0, 0, 'F'},
{"groups", 0, 0, 'g'}, {"groups", 0, 0, 'g'},
{"context", 0, 0, 'Z'}, {"context", 0, 0, 'Z'},
+ {"trim", 0, 0, 'T'}, + {"notrim", 0, 0, 'T'},
{NULL, 0, 0, 0} {NULL, 0, 0, 0}
}; };
@ -86,7 +86,7 @@
fprintf(stderr, _(" -F, --fib display Forwarding Information Base (default)\n")); fprintf(stderr, _(" -F, --fib display Forwarding Information Base (default)\n"));
- fprintf(stderr, _(" -C, --cache display routing cache instead of FIB\n\n")); - fprintf(stderr, _(" -C, --cache display routing cache instead of FIB\n\n"));
+ fprintf(stderr, _(" -C, --cache display routing cache instead of FIB\n")); + fprintf(stderr, _(" -C, --cache display routing cache instead of FIB\n"));
+ fprintf(stderr, _(" -T, --trim stop trimming long addresses\n")); + fprintf(stderr, _(" -T, --notrim stop trimming long addresses\n"));
fprintf(stderr, _(" -Z, --context display SELinux security context for sockets\n\n")); fprintf(stderr, _(" -Z, --context display SELinux security context for sockets\n\n"));
fprintf(stderr, _(" <Iface>: Name of interface to monitor/list.\n")); fprintf(stderr, _(" <Iface>: Name of interface to monitor/list.\n"));

View File

@ -3,7 +3,7 @@
Summary: Basic networking tools. Summary: Basic networking tools.
Name: net-tools Name: net-tools
Version: 1.60 Version: 1.60
Release: 71 Release: 72
License: GPL License: GPL
Group: System Environment/Base Group: System Environment/Base
Source0: http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-%{version}.tar.bz2 Source0: http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-%{version}.tar.bz2
@ -242,6 +242,9 @@ exit 0
%{_sysconfdir}/rc.d/init.d/netplugd %{_sysconfdir}/rc.d/init.d/netplugd
%changelog %changelog
* Wed Jun 7 2006 Radek Vokal <rvokal@redhat.com> - 1.60-72
- switch --trim to --notrim .. make it less confusing
* Fri May 19 2006 Radek Vokal <rvokal@redhat.com> - 1.60-71 * Fri May 19 2006 Radek Vokal <rvokal@redhat.com> - 1.60-71
- BuildRequires: libselinux-devel (#191737) - BuildRequires: libselinux-devel (#191737)