From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 6A994A00E6 for ; Fri, 14 Jun 2019 16:06:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EA5A51D54C; Fri, 14 Jun 2019 16:06:14 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 2133C1D54A for ; Fri, 14 Jun 2019 16:06:13 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jun 2019 07:06:13 -0700 X-ExtLoop1: 1 Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga005.fm.intel.com with ESMTP; 14 Jun 2019 07:06:11 -0700 Received: from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com [10.102.246.100]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id x5EE6BNb006081; Fri, 14 Jun 2019 15:06:11 +0100 Received: from wgcvswdev001.ir.intel.com (localhost [127.0.0.1]) by wgcvswdev001.ir.intel.com with ESMTP id x5EE5j3W012481; Fri, 14 Jun 2019 15:05:45 +0100 Received: (from agalyabx@localhost) by wgcvswdev001.ir.intel.com with œ id x5EE5jLl012477; Fri, 14 Jun 2019 15:05:45 +0100 From: Agalya Babu RadhaKrishnan To: dev@dpdk.org Cc: reshma.pattan@intel.com, cristian.dumitrescu@intel.com, Agalya Babu RadhaKrishnan Date: Fri, 14 Jun 2019 15:05:32 +0100 Message-Id: <1560521132-12232-1-git-send-email-agalyax.babu.radhakrishnan@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH] examples: modify error message for ip pipeline X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Agalya Babu RadhaKrishnan Added help command in error message for ip pipeline commands. Signed-off-by: Agalya Babu RadhaKrishnan --- examples/ip_pipeline/cli.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/ip_pipeline/cli.c b/examples/ip_pipeline/cli.c index 309b2936e..8a651bbbc 100644 --- a/examples/ip_pipeline/cli.c +++ b/examples/ip_pipeline/cli.c @@ -30,12 +30,12 @@ #define MSG_OUT_OF_MEMORY "Not enough memory.\n" #define MSG_CMD_UNKNOWN "Unknown command \"%s\".\n" -#define MSG_CMD_UNIMPLEM "Command \"%s\" not implemented.\n" -#define MSG_ARG_NOT_ENOUGH "Not enough arguments for command \"%s\".\n" -#define MSG_ARG_TOO_MANY "Too many arguments for command \"%s\".\n" -#define MSG_ARG_MISMATCH "Wrong number of arguments for command \"%s\".\n" -#define MSG_ARG_NOT_FOUND "Argument \"%s\" not found.\n" -#define MSG_ARG_INVALID "Invalid value for argument \"%s\".\n" +#define MSG_CMD_UNIMPLEM "Command \"%s\" not implemented. Try help \n" +#define MSG_ARG_NOT_ENOUGH "Not enough arguments for command \"%s\". Try help \n" +#define MSG_ARG_TOO_MANY "Too many arguments for command \"%s\". Try help \n" +#define MSG_ARG_MISMATCH "Wrong number of arguments for command \"%s\". Try help \n" +#define MSG_ARG_NOT_FOUND "Argument \"%s\" not found. Try help \n" +#define MSG_ARG_INVALID "Invalid value for argument \"%s\". Try help \n" #define MSG_FILE_ERR "Error in file \"%s\" at line %u.\n" #define MSG_FILE_NOT_ENOUGH "Not enough rules in file \"%s\".\n" #define MSG_CMD_FAIL "Command \"%s\" failed.\n" -- 2.14.1