[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1472388762-18035-2-git-send-email-jhs@emojatatu.com>
Date: Sun, 28 Aug 2016 08:52:41 -0400
From: Jamal Hadi Salim <jhs@...atatu.com>
To: stephen@...workplumber.org
Cc: netdev@...r.kernel.org, Roman Mashak <mrv@...atatu.com>,
Jamal Hadi Salim <jhs@...atatu.com>
Subject: [iproute2 2/3] police: improve usage message
From: Roman Mashak <mrv@...atatu.com>
Signed-off-by: Roman Mashak <mrv@...atatu.com>
Signed-off-by: Jamal Hadi Salim <jhs@...atatu.com>
---
tc/m_police.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/tc/m_police.c b/tc/m_police.c
index d7fa8f6..226e20e 100644
--- a/tc/m_police.c
+++ b/tc/m_police.c
@@ -36,11 +36,12 @@ static void usage(void)
{
fprintf(stderr, "Usage: ... police rate BPS burst BYTES[/BYTES] [ mtu BYTES[/BYTES] ]\n");
fprintf(stderr, " [ peakrate BPS ] [ avrate BPS ] [ overhead BYTES ]\n");
- fprintf(stderr, " [ linklayer TYPE ] [ ACTIONTERM ]\n");
+ fprintf(stderr, " [ linklayer TYPE ] [ CONTROL ]\n");
- fprintf(stderr, "New Syntax ACTIONTERM := conform-exceed <EXCEEDACT>[/NOTEXCEEDACT]\n");
- fprintf(stderr, "Where: *EXCEEDACT := pipe | ok | reclassify | drop | continue\n");
- fprintf(stderr, "Where: pipe is only valid for new syntax\n");
+ fprintf(stderr, "Where: CONTROL := conform-exceed <EXCEEDACT>[/NOTEXCEEDACT]\n");
+ fprintf(stderr, " Define how to handle packets which exceed (<EXCEEDACT>)\n");
+ fprintf(stderr, " or conform (<NOTEXCEEDACT>) the configured bandwidth limit.\n");
+ fprintf(stderr, " EXCEEDACT/NOTEXCEEDACT := { pipe | ok | reclassify | drop | continue }\n");
exit(-1);
}
--
1.9.1
Powered by blists - more mailing lists