public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC][PATCH 08/19] i2c: fix command usage help
Date: Fri, 30 Jul 2010 08:04:46 +0200	[thread overview]
Message-ID: <4C526B7E.3000605@denx.de> (raw)
In-Reply-To: <1280418017.19222.202.camel@petert>

Hello Peter,

Peter Tyser wrote:
>>  {
>>  	cmd_tbl_t *c;
>>
>> +	if (argc < 2) {
>> +		cmd_usage(cmdtp);
>> +		return 1;
>> +	}
>> +
> 
> Wolfgang recently made cmd_usage() return 1 so the above could be
> simplified to:
> if (argc < 2)
> 	return cmd_usage(cmdtp);

Hups, missed this, sorry. I fix it in the next version. thanks.

bye
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  reply	other threads:[~2010-07-30  6:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-29 10:44 [U-Boot] [RFC][PATCH 08/19] i2c: fix command usage help Heiko Schocher
2010-07-29 15:40 ` Peter Tyser
2010-07-30  6:04   ` Heiko Schocher [this message]
2010-08-03 10:15     ` [U-Boot] [RFC][PATCH v2 " Heiko Schocher

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=4C526B7E.3000605@denx.de \
    --to=hs@denx.de \
    --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