|author||sascha <email@example.com>||2007-10-19 11:23:24 +0200|
|committer||sascha <firstname.lastname@example.org>||2007-10-19 11:23:24 +0200|
Fix documentation for addpart/delpart/devinfo. These commands
now take a device file, not a device id.
Diffstat (limited to 'commands/partition.c')
1 files changed, 7 insertions, 10 deletions
diff --git a/commands/partition.c b/commands/partition.c
index 421f01fc2..25bdfee45 100644
@@ -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> 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> 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";
.maxargs = 2,