summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2026-08-03 00:08:38 +0200
committerTom Rini <[email protected]>2026-08-10 14:22:09 -0600
commit06084f6f92a2fa6b2756f4928ddfa27583074d97 (patch)
treea69e029b58d69a99b9210cfaca99a8e0615d3b70
parentc882fc0fe40e184e75035909aea2f3109cbe78bb (diff)
cmd: scsi: Drop duplicate leading scsi prefix
The SCSI command currently prints the following duplicate prefix: " => scsi scsi - SCSI sub-system Usage: scsi scsi info - show available SCSI devices ^^^^^^^^^ scsi scan - (re-)scan SCSI bus " Drop one copy of the scsi prefix. Fixes: 460c322f13ec ("(re)enabled scsi commands do_scsi() and do_scsiboot() Patch by Denis Peter, 06 Dec 2004") Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Reviewed-by: David Lechner <[email protected]>
-rw-r--r--cmd/scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/scsi.c b/cmd/scsi.c
index ad7d8a4b664..5e732c1e50a 100644
--- a/cmd/scsi.c
+++ b/cmd/scsi.c
@@ -45,7 +45,7 @@ static int do_scsi(struct cmd_tbl *cmdtp, int flag, int argc,
U_BOOT_CMD(
scsi, 5, 1, do_scsi,
"SCSI sub-system",
- "scsi info - show available SCSI devices\n"
+ "info - show available SCSI devices\n"
"scsi scan - (re-)scan SCSI bus\n"
"scsi device [dev] - show or set current device\n"
"scsi part [dev] - print partition table of one or all SCSI devices\n"