Proposed argument changes to ntpq (fixing bug #319)

Gary E. Miller gem at rellim.com
Thu Jun 8 00:01:00 UTC 2017


Yo Ian!

On Wed, 7 Jun 2017 18:31:15 -0500
Ian Bruene via devel <devel at ntpsec.org> wrote:

> Currently ntpq has -d and -D flags which function much like the ones
> for ntpd. Except that the -d flag also sets ntpq to log to a file
> instead of stderr because, um, reasons?

Evolution is hard to understand, much less manage...

> Proposed interface change:
> 
> -d/-D remain, but *only* affect the debug level

OK.

> Add flag -l / --log-file (alt: -f, etc) turns on logging to a file
> with the default logging filename.

-l already takes a filename option.

Just make the filename optional. So -l or -l filename

Best to respect precedent.  People hate changing their btch files and
recipes.

> Add flag -L / --log-filename (alt: -F, etc) on logging to a file,
> with the user provided filename.

-L already taken:

# ntpd -?
[...]
   -L no  novirtualips   Do not listen to virtual interfaces

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170607/5805d494/attachment.bin>


More information about the devel mailing list