ifconfig man improvements

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ifconfig man improvements

Julien Dhaille
Hi,
this is a simple annotation for carpdemote and -carpdemote.
I find it helpful to know the maximum value acceptable for the argument
'number', and the maximum value allowed for the demote count.

advskew and advbase provide these informations.

Regards


Index: ifconfig.8
===================================================================
RCS file: /cvs/src/sbin/ifconfig/ifconfig.8,v
retrieving revision 1.253
diff -u -p -u -r1.253 ifconfig.8
--- ifconfig.8  12 Mar 2015 18:28:34 -0000      1.253
+++ ifconfig.8  25 Jul 2015 21:58:34 -0000
@@ -1188,17 +1188,17 @@ Increase
 .Xr carp 4
 demote count for given interface group by
 .Ar number .
-If
+Acceptable values are 0 to 128. If
 .Ar number
-is omitted, it is increased by 1.
+is omitted, it is increased by 1. Demote count can be set up to 255.
 .It Fl carpdemote Op Ar number
 Decrease
 .Xr carp 4
 demote count for given interface group by
 .Ar number .
-If
+Acceptable values are 0 to 128. If
 .Ar number
-is omitted, it is decreased by 1.
+is omitted, it is decreased by 1.
 .El
 .\" MPE
 .Sh MPE

--
Julien Dhaille

Reply | Threaded
Open this post in threaded view
|

Re: ifconfig man improvements

Jason McIntyre-2
On Sun, Jul 26, 2015 at 12:30:31AM +0200, Julien Dhaille wrote:
> Hi,
> this is a simple annotation for carpdemote and -carpdemote.
> I find it helpful to know the maximum value acceptable for the argument
> 'number', and the maximum value allowed for the demote count.
>
> advskew and advbase provide these informations.
>
> Regards
>

if anyone takes this, please observe the "new sentence, new line" game
we play.

jmc

>
> Index: ifconfig.8
> ===================================================================
> RCS file: /cvs/src/sbin/ifconfig/ifconfig.8,v
> retrieving revision 1.253
> diff -u -p -u -r1.253 ifconfig.8
> --- ifconfig.8  12 Mar 2015 18:28:34 -0000      1.253
> +++ ifconfig.8  25 Jul 2015 21:58:34 -0000
> @@ -1188,17 +1188,17 @@ Increase
>  .Xr carp 4
>  demote count for given interface group by
>  .Ar number .
> -If
> +Acceptable values are 0 to 128. If
>  .Ar number
> -is omitted, it is increased by 1.
> +is omitted, it is increased by 1. Demote count can be set up to 255.
>  .It Fl carpdemote Op Ar number
>  Decrease
>  .Xr carp 4
>  demote count for given interface group by
>  .Ar number .
> -If
> +Acceptable values are 0 to 128. If
>  .Ar number
> -is omitted, it is decreased by 1.
> +is omitted, it is decreased by 1.
>  .El
>  .\" MPE
>  .Sh MPE
>
> --
> Julien Dhaille
>