bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] [PATCH] ping/ping6 --deadline option


From: Alfred M. Szmidt
Subject: Re: [bug-inetutils] [PATCH] ping/ping6 --deadline option
Date: Sun, 04 Oct 2009 08:09:07 -0400

   Regarding option name BSD one has --deadline option for this
   (timeout before ping exits) and timeout for 'time to wait for a
   response'. So I guess it would nice to keep the options same.

BSD doesn't use long option names, it uses -w and -W[1].  We can use
--timeout=N and --timeout-response=N for the long options, since that
is exactly what they do.

Same goes for the variable names.

[1]: You are confusing what the option argument is called in the man
page, `-w deadline' and `-W timeout', it has nothing to do with the
name of the option name.  So it doesn't matter, and we should pick
more descriptive names anyway...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]