Skip to contentSkip to conversation

iproute2: skbedit: Fix help message

PATCH In review jamal 2 participants 2 messages Oct 14, 2009

Subsystems (2)
lore
Share & tools
lore

jamal

author
#0 lore raw

PATCH 1/1 iproute2: skbedit: Fix help message

This fixes the help message on the skbedit action. Stephen, please apply if Alexander ACKs.

cheers,
jamal

commit 28dd9c19a1fa618105238a3302f272e2aee7918a

Author: Jamal Hadi Salim <[email protected]>
Date:   Tue Oct 14 07:32:51 2009 -0400

skbedit: Fix help message

Currently the help text implies you can either pass queue mapping or priority. Truth is you can pass both

tc/m_skbedit.c +3 -2
index 9044353..ecb1f2d 100644
@@ -31,8 +31,9 @@
 static void
 explain(void)
 {
-	fprintf(stderr, "Usage: ... skbedit "
-			"queue_mapping QUEUE_MAPPING | priority PRIORITY \n"
+	fprintf(stderr, "Usage: ... skbedit <[QM] [PM]>\n"
+			"QM = queue_mapping QUEUE_MAPPING\n"
+			"PM = priority PRIORITY \n"
 			"QUEUE_MAPPING = device transmit queue to use\n"
 			"PRIORITY = classID to assign to priority field\n");
 }