From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ey0-f177.google.com ([209.85.215.177]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QTpyQ-0002mK-Cy for linux-mtd@lists.infradead.org; Tue, 07 Jun 2011 06:41:10 +0000 Received: by eyh6 with SMTP id 6so1959752eyh.36 for ; Mon, 06 Jun 2011 23:41:06 -0700 (PDT) Subject: Re: [PATCH 2/6] mtdinfo: send help/version info to stdout From: Artem Bityutskiy To: Mike Frysinger In-Reply-To: <1307427548-29306-2-git-send-email-vapier@gentoo.org> References: <1307427548-29306-1-git-send-email-vapier@gentoo.org> <1307427548-29306-2-git-send-email-vapier@gentoo.org> Content-Type: text/plain; charset="UTF-8" Date: Tue, 07 Jun 2011 09:36:49 +0300 Message-ID: <1307428609.11104.39.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: linux-mtd@lists.infradead.org Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2011-06-07 at 02:19 -0400, Mike Frysinger wrote: > Usage/version information should go to stdout when it is expected behavior > (i.e. the user requested it explicitly). This info should go to stderr > only when the usage info is being shown as a result of incorrect options. > > Signed-off-by: Mike Frysinger This is fine, but all other ubi utils need this change then as well. I think this piece of code was copypasted in all ubi-utils, so you should easily find it and change. -- Best Regards, Artem Bityutskiy (Артём Битюцкий)