On Wed, Mar 09, 2016 at 07:04:36AM -0500, Jamal Hadi Salim wrote: > +static void ife_explain(void) > +{ > + fprintf(stderr, > + "Usage:... ife {decode|encode} {ALLOW|USE} [dst DMAC] [src > SMAC] [type TYPE] [CONTROL] [index INDEX]\n");
I'm just nitpicking here, but this syntax implies that ALLOW and USE are mandatory and mutually exclusive. Looking at the code they're neither (although specifying both might not make sense). OTOH you could probably 'use mark' and 'allow prio'. So I'd suggest '[ALLOW] [USE]' instead. > + fprintf(stderr, > + "\tALLOW := Encode direction. Allows encoding specified > metadata\n" > + "\t\t e.g \"allow mark\"\n" > + "\tUSE := Encode direction. Enforce Static encoding of > specified metadata\n" > + "\t\t e.g \"use mark 0x12\"\n" I'm missing a list of what actual keywords can be given, but after all this is just a help text and a man page will provide much more detail anyway (which you are about to submit too, are you? :). Apart from that: Acked-by: Phil Sutter <p...@nwl.cc>