diff mbox series

[2/2,v1] cmd: gpio: Add the command return value to the help text

Message ID 20200127063020.28026-1-luka.kovacic@sartura.hr
State New
Headers show
Series [1/2,v1] cmd: doc: Update command return values | expand

Commit Message

Luka Kovacic Jan. 27, 2020, 6:30 a.m. UTC
From: Luka Kovacic <luka.kovacic at sartura.hr>

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

Cc: Luka Perkov <luka.perkov at sartura.hr>
Signed-off-by: Luka Kovacic <luka.kovacic at sartura.hr>
---
 cmd/gpio.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

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");