[dpdk-dev] app/testpmd: fix error prompt

Message ID 1501268158-119313-1-git-send-email-wenzhuo.lu@intel.com (mailing list archive)
State Accepted, archived
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Wenzhuo Lu July 28, 2017, 6:55 p.m. UTC
  There're '\n's missing, so the error prompt
looks bad.

Fixes: 3af72783d1fd ("app/testpmd: configure event display")
Fixes: 7ee3e9446290 ("app/testpmd: add --flow-isolate-all option")
CC: stable@dpdk.org

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
---
 app/test-pmd/parameters.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Comments

Thomas Monjalon July 31, 2017, 9:37 p.m. UTC | #1
28/07/2017 20:55, Wenzhuo Lu:
> There're '\n's missing, so the error prompt
> looks bad.
> 
> Fixes: 3af72783d1fd ("app/testpmd: configure event display")
> Fixes: 7ee3e9446290 ("app/testpmd: add --flow-isolate-all option")
> CC: stable@dpdk.org
> 
> Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>

Applied, thanks
  

Patch

diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c
index 354a94c..2f7f70f 100644
--- a/app/test-pmd/parameters.c
+++ b/app/test-pmd/parameters.c
@@ -211,11 +211,11 @@ 
 	printf("  --bitrate-stats=N: set the logical core N to perform "
 		"bit-rate calculation.\n");
 	printf("  --print-event <unknown|intr_lsc|queue_state|intr_reset|vf_mbox|macsec|intr_rmv|all>: "
-	       "enable print of designated event or all of them.");
+	       "enable print of designated event or all of them.\n");
 	printf("  --mask-event <unknown|intr_lsc|queue_state|intr_reset|vf_mbox|macsec|intr_rmv|all>: "
-	       "disable print of designated event or all of them.");
+	       "disable print of designated event or all of them.\n");
 	printf("  --flow-isolate-all: "
-	       "requests flow API isolated mode on all ports at initialization time.");
+	       "requests flow API isolated mode on all ports at initialization time.\n");
 }
 
 #ifdef RTE_LIBRTE_CMDLINE