[PATCH 1/1] documentation: i2c_read() does not expect any "DATA".

Andreas Geisenhainer Andreas.Geisenhainer at atsonline.de
Wed Apr 27 07:21:37 PDT 2016


Remove information about DATA from help text.

Signed-off-by: Andreas Geisenhainer <Andreas.Geisenhainer at atsonline.de>
---
 commands/i2c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/i2c.c b/commands/i2c.c
index e6750e3..ae7f7fc 100644
--- a/commands/i2c.c
+++ b/commands/i2c.c
@@ -243,7 +243,7 @@ BAREBOX_CMD_HELP_END
 BAREBOX_CMD_START(i2c_read)
 	.cmd		= do_i2c_read,
 	BAREBOX_CMD_DESC("read from an i2c device")
-	BAREBOX_CMD_OPTS("[-bacrwv] DATA...")
+	BAREBOX_CMD_OPTS("[-bacrwv]")
 	BAREBOX_CMD_GROUP(CMD_GRP_HWMANIP)
 	BAREBOX_CMD_HELP(cmd_i2c_read_help)
 BAREBOX_CMD_END
-- 
2.8.1



More information about the barebox mailing list