From: Andrzej Wolski <awolski@poczta.fm>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ubi: help message correction
Date: Sun, 12 Jul 2009 14:40:29 +0200 [thread overview]
Message-ID: <4A59D9BD.4010100@poczta.fm> (raw)
In-Reply-To: <20090712063007.ED3B6832E416@gemini.denx.de>
> In message <h3bhhv$l6g$1@ger.gmane.org> you wrote:
>> Fix incorrect information about size units.
>>
>> Signed-off-by: Andrzej Wolski <awolski@poczta.fm>
>> ---
>> diff --git a/common/cmd_ubi.c b/common/cmd_ubi.c
>> index bbca389..d1653b1 100644
>> --- a/common/cmd_ubi.c
>> +++ b/common/cmd_ubi.c
>> @@ -608,6 +608,6 @@ U_BOOT_CMD(ubi, 6, 1, do_ubi,
>> " - Remove volume\n"
>> "[Legends]\n"
>> " volume: charater name\n"
>> - " size: KiB, MiB, GiB, and bytes\n"
>> + " size: hex value\n"
>> " type: s[tatic] or d[ynamic] (default=dynamic)"
>> );
>
> This is IMHO not a helpful help message.
>
> First, it is reduncant, as all input in U-Boot is in hex format. So
> why repeat that information. And "size: value" - what does that tell
> me? Would it not be good to mention the unit? Is it in KiB, MiB, GiB,
> bytes, blocks, or whatever?
This is size in bytes. Original message was probably based on Linux
mtd-utils where size in KiB, MiB, etc. can be specified. This is not
true in U-Boot where all input is in hex, so this message have to be
corrected. If you think "hex value" is not helpful, can you suggest
something better? Maybe just remove size entry?
Regards,
Andrzej Wolski
next prev parent reply other threads:[~2009-07-12 12:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-12 2:25 [U-Boot] [PATCH] ubi: help message correction Andrzej Wolski
2009-07-12 6:30 ` Wolfgang Denk
2009-07-12 12:40 ` Andrzej Wolski [this message]
2009-07-14 11:01 ` Detlev Zundel
2009-07-17 20:26 ` Andrzej Wolski
2009-07-20 7:24 ` Stefan Roese
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A59D9BD.4010100@poczta.fm \
--to=awolski@poczta.fm \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox