All of lore.kernel.org
 help / color / mirror / Atom feed
From: luka.kovacic at sartura.hr <luka.kovacic@sartura.hr>
To: u-boot@lists.denx.de
Subject: [PATCH 2/2 v1] cmd: gpio: Add the command return value to the help text
Date: Mon, 27 Jan 2020 07:30:20 +0100	[thread overview]
Message-ID: <20200127063020.28026-1-luka.kovacic@sartura.hr> (raw)
In-Reply-To: <20200123211204.GC26536@bill-the-cat>

From: Luka Kovacic <luka.kovacic@sartura.hr>

Adds the command return value to the help text, since pin value
is returned.

Cc: Luka Perkov <luka.perkov@sartura.hr>
Signed-off-by: Luka Kovacic <luka.kovacic@sartura.hr>
---
 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",
 	   "<input|set|clear|toggle> <pin>\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] [<bank> | <pin>]  - show [all/claimed] GPIOs");
-- 
2.20.1

  parent reply	other threads:[~2020-01-27  6:30 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-05 19:10 [PATCH 0/1 v1] cmd: gpio: Correct do_gpio() return value Luka Kovacic
2020-01-05 19:10 ` [PATCH 1/1 " Luka Kovacic
2020-01-23 12:31   ` Tom Rini
2020-01-23 21:04     ` Luka Kovačič
2020-01-23 21:12       ` Tom Rini
2020-01-27  6:30         ` [PATCH 1/2 v1] cmd: doc: Update command return values luka.kovacic at sartura.hr
2020-01-27  6:30         ` luka.kovacic at sartura.hr [this message]
2020-01-30  2:17         ` [PATCH 1/1 v1] cmd: gpio: Correct do_gpio() return value Simon Glass
2020-01-30 18:52           ` Tom Rini
2020-01-31  2:27             ` Simon Glass
2020-01-31 20:59               ` Tom Rini
2020-02-02 22:50                 ` Simon Glass
2020-02-08  0:05   ` Tom Rini
2020-03-10  9:47     ` Alex Kiernan
2020-03-10 12:37       ` Tom Rini
2020-03-10 13:23         ` Alex Kiernan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200127063020.28026-1-luka.kovacic@sartura.hr \
    --to=luka.kovacic@sartura.hr \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.