> -----Original Message-----
> From: Miroslav Lichvar [mailto:mlich...@redhat.com]
> Sent: Wednesday, November 09, 2016 3:38 AM
> To: Richard Cochran <richardcoch...@gmail.com>
> Cc: Keller, Jacob E <jacob.e.kel...@intel.com>; 
> linuxptp-devel@lists.sourceforge.net
> Subject: Re: [Linuxptp-devel] [PATCH RFC 1/3] Add options to prefix ptp4l and
> phc2sys log messages.
> 
> On Tue, Nov 08, 2016 at 10:25:58AM +0100, Richard Cochran wrote:
> > So it sounds like people do want long options.  I'll see if I can come
> > up with a way to automatically support the config_tab[] entries in
> > config.c as command line options.  For example
> >
> >     PORT_ITEM_INT("announceReceiptTimeout", 3, 2, UINT8_MAX),
> >     GLOB_ITEM_INT("assume_two_step", 0, 0, 1),
> >     PORT_ITEM_INT("boundary_clock_jbod", 0, 0, 1),
> >
> > becomes
> >
> >     --announceReceiptTimeout val
> >     --assume_two_step
> >     --boundary_clock_jbod
> 
> I think this would be nice. If it's implemented, it would probably
> make sense to include all options, even the obscure ones, so there is
> no confusion when someone tries to use them on command line and the
> man page doesn't have to explain which can be used only in the config
> file.
> 

I think I changed my opinion and agree with you here. It makes sense since the 
long names will be the same as the config file.

Thanks,
Jake

> --
> Miroslav Lichvar
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to