From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 3.mo4.mail-out.ovh.net ([46.105.57.129] helo=mo4.mail-out.ovh.net) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X42cR-0003cJ-D9 for barebox@lists.infradead.org; Mon, 07 Jul 2014 06:41:44 +0000 Received: from mail194.ha.ovh.net (b6.ovh.net [213.186.33.56]) by mo4.mail-out.ovh.net (Postfix) with SMTP id 0DCD3FF9C68 for ; Mon, 7 Jul 2014 08:41:18 +0200 (CEST) Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) From: Jean-Christophe PLAGNIOL-VILLARD In-Reply-To: Date: Mon, 7 Jul 2014 14:41:05 +0800 Message-Id: <318A52B2-7D3C-4FE8-8E79-0653271A6233@jcrosoft.com> References: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: is it "crc" or "crc32"? To: "Robert P. J. Day" Cc: "U-Boot Version 2 (barebox)" On Jul 7, 2014, at 5:27 AM, Robert P. J. Day wrote: > > > the source file commands/crc.c has a very confusing tail end, which > generates two partial entries for the sphinx docs: > > BAREBOX_CMD_HELP_START(crc) this is just the struct name > BAREBOX_CMD_HELP_TEXT("Calculate a CRC32 checksum of a memory area.") > BAREBOX_CMD_HELP_TEXT("") > BAREBOX_CMD_HELP_TEXT("Options:") > BAREBOX_CMD_HELP_OPT ("-f FILE", "Use file instead of memory.") > #ifdef CONFIG_CMD_CRC_CMP > BAREBOX_CMD_HELP_OPT ("-F FILE", "Use file to compare.") > #endif > BAREBOX_CMD_HELP_OPT ("-v CRC", "Verify") > BAREBOX_CMD_HELP_OPT ("-V FILE", "Verify with CRC read from FILE") > BAREBOX_CMD_HELP_END > > BAREBOX_CMD_START(crc32) <-- ???? > > the first command definition refers to "crc", but the second one > refers to "crc32". is that correct? what does it mean? its crc32 > > rday > > -- > > ======================================================================== > Robert P. J. Day Ottawa, Ontario, CANADA > http://crashcourse.ca > > Twitter: http://twitter.com/rpjday > LinkedIn: http://ca.linkedin.com/in/rpjday > ======================================================================== > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox