[PATCH] commands: usb: drop help for force rescan option

Wjatscheslaw Stoljarski (Slawa) wjatscheslaw.stoljarski at kiwigrid.com
Mon Sep 29 08:32:56 PDT 2014


From: "Wjatscheslaw Stoljarski" <wjatscheslaw.stoljarski at kiwigrid.com>

Signed-off-by: Wjatscheslaw Stoljarski <wjatscheslaw.stoljarski at kiwigrid.com>
---
 commands/usb.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/commands/usb.c b/commands/usb.c
index a37d503..48c6619 100644
--- a/commands/usb.c
+++ b/commands/usb.c
@@ -138,7 +138,6 @@ BAREBOX_CMD_HELP_START(usb)
 BAREBOX_CMD_HELP_TEXT("Scan for USB devices.")
 BAREBOX_CMD_HELP_TEXT("")
 BAREBOX_CMD_HELP_TEXT("Options:")
-BAREBOX_CMD_HELP_OPT("-f", "force rescan")
 BAREBOX_CMD_HELP_OPT("-s", "show devices")
 BAREBOX_CMD_HELP_OPT("-t", "show USB tree")
 BAREBOX_CMD_HELP_END
@@ -146,7 +145,7 @@ BAREBOX_CMD_HELP_END
 BAREBOX_CMD_START(usb)
 	.cmd		= do_usb,
 	BAREBOX_CMD_DESC("(re-)detect USB devices")
-	BAREBOX_CMD_OPTS("[-fts]")
+	BAREBOX_CMD_OPTS("[-ts]")
 	BAREBOX_CMD_GROUP(CMD_GRP_HWMANIP)
 	BAREBOX_CMD_HELP(cmd_usb_help)
 	BAREBOX_CMD_COMPLETE(empty_complete)
-- 
1.9.1




More information about the barebox mailing list