From patchwork Mon Jan 27 06:30:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luka Kovacic X-Patchwork-Id: 240262 List-Id: U-Boot discussion From: luka.kovacic at sartura.hr (luka.kovacic at sartura.hr) Date: Mon, 27 Jan 2020 07:30:20 +0100 Subject: [PATCH 2/2 v1] cmd: gpio: Add the command return value to the help text In-Reply-To: <20200123211204.GC26536@bill-the-cat> References: <20200123211204.GC26536@bill-the-cat> Message-ID: <20200127063020.28026-1-luka.kovacic@sartura.hr> From: Luka Kovacic Adds the command return value to the help text, since pin value is returned. Cc: Luka Perkov Signed-off-by: Luka Kovacic --- cmd/gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/gpio.c b/cmd/gpio.c index eff36ab2af..e57d3fb638 100644 --- a/cmd/gpio.c +++ b/cmd/gpio.c @@ -245,5 +245,6 @@ static int do_gpio(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) U_BOOT_CMD(gpio, 4, 0, do_gpio, "query and control gpio pins", " \n" - " - input/set/clear/toggle the specified pin\n" + " - input/set/clear/toggle the specified pin; pin value is\n" + " returned.\n" "gpio status [-a] [ | ] - show [all/claimed] GPIOs");