summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--commands/partition.c17
-rw-r--r--lib/driver.c2
2 files changed, 8 insertions, 11 deletions
diff --git a/commands/partition.c b/commands/partition.c
index 421f01fc2f..25bdfee45a 100644
--- a/commands/partition.c
+++ b/commands/partition.c
@@ -178,14 +178,13 @@ err_out:
}
static __maybe_unused char cmd_addpart_help[] =
-"Usage: addpart <partition description>\n"
+"Usage: addpart <device> <partition description>\n"
"addpart adds a partition description to a device. The partition description\n"
"has the form\n"
-"dev:size1(name1)[ro],size2(name2)[ro],...\n"
-"<dev> is the device name under /dev. Size can be given in decimal or if\n"
-"prefixed with 0x in hex. Sizes can have an optional suffix K,M,G. The size\n"
-"of the last partition can be specified as '-' for the remaining space of the\n"
-"device.\n"
+"size1(name1)[ro],size2(name2)[ro],...\n"
+"<device> is the device name under. Size can be given in decimal or if prefixed\n"
+"with 0x in hex. Sizes can have an optional suffix K,M,G. The size of the last\n"
+"partition can be specified as '-' for the remaining space of the device.\n"
"This format is the same as used in the Linux kernel for cmdline mtd partitions.\n"
"Note That this command has to be reworked and will probably change it's API.";
@@ -217,10 +216,8 @@ static int do_delpart(cmd_tbl_t * cmdtp, int argc, char *argv[])
}
static __maybe_unused char cmd_delpart_help[] =
-"Usage: delpart <dev>\n"
-"Delete partitions previously added to a device with addpart.\n"
-"Note: You have to specify the device as 'devid', _not_ as '/dev/devid'. This\n"
-"will likely change soon.\n";
+"Usage: delpart <device>\n"
+"Delete partitions previously added to a device with addpart.\n";
U_BOOT_CMD_START(delpart)
.maxargs = 2,
diff --git a/lib/driver.c b/lib/driver.c
index 8510fd8ef1..b16a9e3841 100644
--- a/lib/driver.c
+++ b/lib/driver.c
@@ -318,7 +318,7 @@ static int do_devinfo ( cmd_tbl_t *cmdtp, int argc, char *argv[])
static __maybe_unused char cmd_devinfo_help[] =
"Usage: devinfo [DEVICE]\n"
"If called without arguments devinfo shows a summary about known devices and\n"
-"drivers. If called with a device id as argument devinfo shows more detailed\n"
+"drivers. If called with a device path as argument devinfo shows more detailed\n"
"informations about this device and its parameters.\n";
U_BOOT_CMD_START(devinfo)