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

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

Cc: Luka Perkov <luka.per...@sartura.hr>
Signed-off-by: Luka Kovacic <luka.kova...@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

Reply via email to