From patchwork Thu Aug 13 08:12:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1344112 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=K29nyvZn; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BRznv6Vb8z9sPf for ; Thu, 13 Aug 2020 18:12:35 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7E36381C1D; Thu, 13 Aug 2020 10:12:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="K29nyvZn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D61D881E39; Thu, 13 Aug 2020 10:12:29 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0B4B580404 for ; Thu, 13 Aug 2020 10:12:27 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x641.google.com with SMTP id c16so5182923ejx.12 for ; Thu, 13 Aug 2020 01:12:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZneWVF+EYOfO5HCUncGjf/udYHgvcYFHsKnT/hp1Z3Y=; b=K29nyvZnN9bfWorhN8tdsu2WJPPlqr8y577GsSGqlpiJ4dqatFL3BZ8dpS2MvIrt9I AlPgnGKPkebRCgl0p9qhxiNRx3MNmCvf+w/VuJac3ERTjwBK55QMWLsTFhyEaOSm6R4R sJ2ZW36xRKM3/BuA50ijZKWxUsrxgtqseJasy3upHeXw5HCZG6VW+KKiBE2F7NRq7kNU 0WdV7A4EHxPJGqZ9OCiY+T5gpNHNb9GvHicr2xpJFk242txTUrmwzEEIx81M0dnpDsuM +x0lnaeqsiuAJeRg5Vz6pFyLxPRMc5dnnkwDrY90aO4XJhgsCRqeLhudMvhFbPdq1Zsq mr2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=ZneWVF+EYOfO5HCUncGjf/udYHgvcYFHsKnT/hp1Z3Y=; b=dWsTX2FDxgSSis3fDYeq6dekVBM9zWIMmj3jq34RG8XHZUzMnxV5GUotV8PDpSN87Q A4Wz/BEhhGu5GVWc/Vo77VY4rsZFYVYLLn1mpm3sReKQ4e2D7DR+fwMravHcERq7ouj9 NbbKh7Vh7tIGqBhIFjn9jNOnSr5gksR/XRLWczmNfdnS9/bDXlH7EilX/8DrGyiPVHPZ oHmgPrawmCHpct0bNJE1np5wgVrCkWaZvrU95JTUTYlL7k2QgqA7GT/An/lpXtOv1CqT C+mcOhQkp+lQdnyOXkqwdDs/sIGVzSGQbyRiOTo1068fR+jV9SRj/2SdrI7TiabA1xi1 Cd+g== X-Gm-Message-State: AOAM533pma8NDbNTNdOj+97CYCNgqPlvIULMDL7NhQInAvVdSBNaCGFQ 6q8Gq0hBJsdTafRri52fnDABV2WYiZ5R0A== X-Google-Smtp-Source: ABdhPJxjdg5wO101/6kCwswmdOMsWucdHcnIl9MTa09zvq8F63nI02EjX6Fay+vcNvQGO3cE3FKhog== X-Received: by 2002:a17:906:6a5b:: with SMTP id n27mr3526051ejs.221.1597306346394; Thu, 13 Aug 2020 01:12:26 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id 7sm3006855edx.76.2020.08.13.01.12.25 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Aug 2020 01:12:25 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Simon Glass Subject: [PATCH] cmd: demo: Remove duplicated help message for list subcommand Date: Thu, 13 Aug 2020 10:12:21 +0200 Message-Id: X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.3 at phobos.denx.de X-Virus-Status: Clean There is no need to show demo list description twice when help demo is performed. The patch removes duplicated entry. Current state: => help demo demo - Driver model (dm) demo operations Usage: demo list List available demo devices demo hello [] Say hello demo light [] Set or get the lights demo status Get demo device status demo list List available demo devices Fixes: a02af4aeece4 ("dm: demo: Add a simple GPIO demonstration") Signed-off-by: Michal Simek Reviewed-by: Simon Glass --- cmd/demo.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/demo.c b/cmd/demo.c index f923533f794b..7310aa2907ad 100644 --- a/cmd/demo.c +++ b/cmd/demo.c @@ -130,5 +130,4 @@ U_BOOT_CMD( "demo hello [] Say hello\n" "demo light [] Set or get the lights\n" "demo status Get demo device status\n" - "demo list List available demo devices" );