diff mbox series

[iproute2,4/4] man: routel/routef: don't mention filesystem paths

Message ID 20171229220125.13579-4-bluca@debian.org
State Superseded, archived
Delegated to: stephen hemminger
Headers show
Series None | expand

Commit Message

Luca Boccassi Dec. 29, 2017, 10:01 p.m. UTC
The filesytem paths to these scripts might be different on various
distros, so don't mention it in the manpages. It is not really useful
information anyway.

Originally submitted as Debian bug:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561424

Reported-by: jidanni@jidanni.org
Signed-off-by: Luca Boccassi <bluca@debian.org>
---
 man/man8/routel.8 | 5 -----
 1 file changed, 5 deletions(-)

Comments

Stephen Hemminger Dec. 30, 2017, 4:05 a.m. UTC | #1
On Fri, 29 Dec 2017 23:01:25 +0100
Luca Boccassi <bluca@debian.org> wrote:

> The filesytem paths to these scripts might be different on various
> distros, so don't mention it in the manpages. It is not really useful
> information anyway.
> 
> Originally submitted as Debian bug:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561424
> 
> Reported-by: jidanni@jidanni.org
> Signed-off-by: Luca Boccassi <bluca@debian.org>
> ---
>  man/man8/routel.8 | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/man/man8/routel.8 b/man/man8/routel.8
> index 82d580fb..2270eacb 100644
> --- a/man/man8/routel.8
> +++ b/man/man8/routel.8
> @@ -17,11 +17,6 @@ The routel script will list routes in a format that some might consider easier t
>  .br
>  The routef script does not take any arguments and will simply flush the routing table down the drain. Beware! This means deleting all routes which will make your network unusable!
>  
> -.SH "FILES"
> -.LP
> -\fI/usr/bin/routef\fP
> -.br
> -\fI/usr/bin/routel\fP
>  .SH "AUTHORS"
>  .LP
>  The routel script was written by Stephen R. van den Berg <srb@cuci.nl>, 1999/04/18 and donated to the public domain.

Sure hardcode paths are not good.
Alternative would be generate man page like ipaddress is.
diff mbox series

Patch

diff --git a/man/man8/routel.8 b/man/man8/routel.8
index 82d580fb..2270eacb 100644
--- a/man/man8/routel.8
+++ b/man/man8/routel.8
@@ -17,11 +17,6 @@  The routel script will list routes in a format that some might consider easier t
 .br
 The routef script does not take any arguments and will simply flush the routing table down the drain. Beware! This means deleting all routes which will make your network unusable!
 
-.SH "FILES"
-.LP
-\fI/usr/bin/routef\fP
-.br
-\fI/usr/bin/routel\fP
 .SH "AUTHORS"
 .LP
 The routel script was written by Stephen R. van den Berg <srb@cuci.nl>, 1999/04/18 and donated to the public domain.