From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 98506C4332F for ; Fri, 9 Dec 2022 12:51:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DA33B85230; Fri, 9 Dec 2022 13:50:34 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=eswincomputing.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 4EDE9850A9; Fri, 9 Dec 2022 10:17:55 +0100 (CET) Received: from azure-sdnproxy.icoremail.net (azure-sdnproxy.icoremail.net [207.46.229.174]) by phobos.denx.de (Postfix) with SMTP id 39072850E1 for ; Fri, 9 Dec 2022 10:17:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=eswincomputing.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=liangshenlin@eswincomputing.com Received: from E0005105LT.eswin.cn (unknown [10.12.98.19]) by app1 (Coremail) with SMTP id EwgMCgCXXIU3_ZJjTMkXAA--.21641S4; Fri, 09 Dec 2022 17:17:45 +0800 (CST) From: Shenlin Liang To: u-boot@lists.denx.de Cc: zhangdongdong@eswincomputing.com, jinyanjiang@eswincomputing.com, zhengyu@eswincomputing.com, zhuwenjun@eswincomputing.com, Shenlin Liang Subject: [PATCH 0/1] cmd: change the return value when argc error Date: Fri, 9 Dec 2022 17:17:42 +0800 Message-Id: <20221209091743.2424-1-liangshenlin@eswincomputing.com> X-Mailer: git-send-email 2.31.1.windows.1 MIME-Version: 1.0 Content-Transfer-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boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean When the number of parameters is wrong, the return value should be processed in the same way as other cmds, return CMD_RET_USAGE so that it can print the information. Shenlin Liang (1): cmd: change the return value when arguments missing cmd/mvebu/comphy_rx_training.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1.windows.1