]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ife: improve help text
authorRoman Mashak <mrv@mojatatu.com>
Tue, 11 Oct 2016 11:00:42 +0000 (07:00 -0400)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 12 Oct 2016 22:09:52 +0000 (15:09 -0700)
Signed-off-by: Roman Mashak <mrv@mojatatu.com>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
tc/m_ife.c

index 588bad7fdefd304ff3aa369bc10d3c9e99d3b493..862461bc23680ef3c472c30cbc06a783391b9858 100644 (file)
 static void ife_explain(void)
 {
        fprintf(stderr,
-               "Usage:... ife {decode|encode} {ALLOW|USE} [dst DMAC] [src SMAC] [type TYPE] [CONTROL] [index INDEX]\n");
+               "Usage:... ife {decode|encode} [{ALLOW|USE} ATTR] [dst DMAC] [src SMAC] [type TYPE] [CONTROL] [index INDEX]\n");
        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"
+               "\tATTR := mark (32-bit), prio (32-bit), tcindex (16-bit)\n"
                "\tDMAC := 6 byte Destination MAC address to encode\n"
                "\tSMAC := optional 6 byte Source MAC address to encode\n"
                "\tTYPE := optional 16 bit ethertype to encode\n"