diff options
| author | Mohammad Rahimi <rahimi.mhmmd@gmail.com> | 2026-02-12 01:35:42 +0000 |
|---|---|---|
| committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2026-04-13 07:32:41 +0200 |
| commit | eccab61f367d24f3fc79652cc89463999b418a8e (patch) | |
| tree | 6ad19aa9f68b83322c5d6918e8464ae857d739e5 /ubi-utils | |
| parent | af2c69a52065236b907f6e478d3645a4fb7f8a9d (diff) | |
ubiattach: fix wording in usage example
The usage example 4 describing reserved eraseblocks had awkward and
slightly incorrect phrasing ("is total flash chip eraseblocks count").
Reword it for clarity and readability without changing the meaning.
Signed-off-by: Mohammad Rahimi <rahimi.mhmmd@gmail.com>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubi-utils')
| -rw-r--r-- | ubi-utils/ubiattach.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ubi-utils/ubiattach.c b/ubi-utils/ubiattach.c index e758dab..11e171b 100644 --- a/ubi-utils/ubiattach.c +++ b/ubi-utils/ubiattach.c @@ -92,9 +92,9 @@ static const char usage[] = " and create UBI device number 3 (ubi3)\n" "Example 4: " PROGRAM_NAME " -m 1 -b 25 - attach /dev/mtd1 to UBI and reserve\n" " 25*C/1024 eraseblocks for bad block handling, where C is the flash\n" -" is total flash chip eraseblocks count, that is flash chip size in\n" -" eraseblocks (including bad eraseblocks). E.g., if the flash chip\n" -" has 4096 PEBs, 100 will be reserved."; +" chip total eraseblocks count, that is flash chip size in eraseblocks\n" +" (including bad eraseblocks). E.g., if the flash chip has 4096 PEBs,\n" +" 100 will be reserved."; static const struct option long_options[] = { { .name = "devn", .has_arg = 1, .flag = NULL, .val = 'd' }, |
