]> www.infradead.org Git - mtd-utils.git/commitdiff
ubirename: trivial fixes to the help text
authorLuca Ceresoli <luca@lucaceresoli.net>
Sun, 12 Feb 2017 21:55:54 +0000 (22:55 +0100)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Mon, 20 Feb 2017 13:16:38 +0000 (14:16 +0100)
Add a missing space after PROGRAM_NAME and fix a typo.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
ubi-utils/ubirename.c

index 288475b37eba9df0dd087f518e560b78ce8fae67..f88ef82ce5171166420cbe18bef472493ab495ac 100644 (file)
@@ -34,7 +34,7 @@
 
 static const char usage[] =
 "Usage: " PROGRAM_NAME " <UBI device node file name> [<old name> <new name>|...]\n\n"
-"Example: " PROGRAM_NAME "/dev/ubi0 A B C D - rename volume A to B, and C to D\n\n"
+"Example: " PROGRAM_NAME " /dev/ubi0 A B C D - rename volume A to B, and C to D\n\n"
 "This utility allows re-naming several volumes in one go atomically.\n"
 "For example, if you have volumes A and B, then you may rename A into B\n"
 "and B into A at one go, and the operation will be atomic. This allows\n"
@@ -44,7 +44,7 @@ static const char usage[] =
 "may remove old volume B.\n"
 "It is also allowed to re-name multiple volumes at a time, but 16 max.\n"
 "renames at once, which means you may specify up to 32 volume names.\n"
-"If you have volumes A and B, and re-name A to B, bud do not re-name\n"
+"If you have volumes A and B, and re-name A to B, but do not re-name\n"
 "B to something else in the same request, old volume B will be removed\n"
 "and A will be renamed into B.\n";