Re: [PATCH nft] main: add more information to `nft -V`.

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

 



On Wed, Mar 04, 2020 at 08:57:35AM +0000, Jeremy Sowden wrote:
> On 2020-03-04, at 00:23:41 +0100, Pablo Neira Ayuso wrote:
> > From: Jeremy Sowden <jeremy@xxxxxxxxxx>
> >
> > In addition to the package-version and release-name, output the CLI
> > implementation (if any) and whether mini-gmp was used, e.g.:
> >
> >     $ ./src/nft -V
> >     nftables v0.9.3 (Topsy)
> >       cli:          linenoise
> >       minigmp:      no
> >
> > Signed-off-by: Jeremy Sowden <jeremy@xxxxxxxxxx>
> > Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
> > ---
> > Hi Jeremy et al.
> >
> > I'm revisiting this one, it's basically your patch with a few
> > mangling.
> >
> > I wonder if it's probably a good idea to introduce a long version
> > mode.  I have seen other tools providing more verbose information
> > about all build information.
> >
> > The idea would be to leave -v/--version as it is, and introduce -V
> > which would be more verbose.
> >
> > Thanks.
> 
> Fine by me.  Btw, I notice that OPTSTRING contains a couple of
> duplicates.  I've attached a patch to remove them.  It applies on top of
> this one.

Thanks, I have applied these two patches.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux