{"id":205,"url":"http://patchwork.ozlabs.org/api/1.1/patches/205/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-mtd/patch/1220856351-22826-1-git-send-email-gerickson@nuovations.com/","project":{"id":3,"url":"http://patchwork.ozlabs.org/api/1.1/projects/3/?format=json","name":"Linux MTD development","link_name":"linux-mtd","list_id":"linux-mtd.lists.infradead.org","list_email":"linux-mtd@lists.infradead.org","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<1220856351-22826-1-git-send-email-gerickson@nuovations.com>","date":"2008-09-08T06:45:51","name":"nanddump: Clean-up Usage Output","commit_ref":"864d88dc1bb2127b9b714c5d15083ca8cb5a93c2","pull_url":null,"state":"accepted","archived":false,"hash":"076ab230917989cf28551548c9230ed4c1a8f57b","submitter":{"id":115,"url":"http://patchwork.ozlabs.org/api/1.1/people/115/?format=json","name":"Grant Erickson","email":"gerickson@nuovations.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linux-mtd/patch/1220856351-22826-1-git-send-email-gerickson@nuovations.com/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/205/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/205/checks/","tags":{},"headers":{"Return-Path":"<linux-mtd-bounces+patchwork=ozlabs.org@lists.infradead.org>","X-Original-To":"patchwork@ozlabs.org","Delivered-To":"patchwork@ozlabs.org","Received":["from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34])\n\t(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\n\t(Client did not present a certificate)\n\tby ozlabs.org (Postfix) with ESMTPS id 02943DDE0F\n\tfor <patchwork@ozlabs.org>; Mon,  8 Sep 2008 16:46:00 +1000 (EST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux))\n\tid 1KcaVW-0006gr-QO; Mon, 08 Sep 2008 06:45:54 +0000","from relay00.pair.com ([209.68.5.9])\n\tby bombadil.infradead.org with smtp (Exim 4.68 #1 (Red Hat Linux))\n\tid 1KcaVV-0006ZA-6X\n\tfor linux-mtd@lists.infradead.org; Mon, 08 Sep 2008 06:45:53 +0000","(qmail 59507 invoked by uid 0); 8 Sep 2008 06:45:51 -0000","from unknown (HELO localhost.localdomain) (unknown)\n\tby unknown with SMTP; 8 Sep 2008 06:45:51 -0000"],"X-pair-Authenticated":"66.134.71.115","From":"Grant Erickson <gerickson@nuovations.com>","To":"linux-mtd@lists.infradead.org","Subject":"[PATCH 5/6] [MTD-UTILS] nanddump: Clean-up Usage Output","Date":"Sun,  7 Sep 2008 23:45:51 -0700","Message-Id":"<1220856351-22826-1-git-send-email-gerickson@nuovations.com>","X-Mailer":"git-send-email 1.6.0.1","Organization":"Nuovation System Designs, LLC","X-Spam-Score":"-1.0 (-)","X-Spam-Report":"SpamAssassin version 3.2.5 on bombadil.infradead.org summary:\n\tContent analysis details:   (-1.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-1.0 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/,\n\tlow trust [209.68.5.9 listed in list.dnswl.org]","X-BeenThere":"linux-mtd@lists.infradead.org","X-Mailman-Version":"2.1.9","Precedence":"list","List-Id":"Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-mtd>","List-Post":"<mailto:linux-mtd@lists.infradead.org>","List-Help":"<mailto:linux-mtd-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"linux-mtd-bounces@lists.infradead.org","Errors-To":"linux-mtd-bounces+patchwork=ozlabs.org@lists.infradead.org"},"content":"Realign help usage output to make it more explict when a description\nneeds to be wrapped.\n\nUse sentence case for the help usage output option short descriptions.\n\nSigned-off-by: Grant Erickson <gerickson@nuovations.com>","diff":"diff --git a/nanddump.c b/nanddump.c\nindex 44a1014..b8332f9 100644\n--- a/nanddump.c\n+++ b/nanddump.c\n@@ -39,19 +39,21 @@ static struct nand_oobinfo none_oobinfo = {\n \n static void display_help (void)\n {\n-\tprintf(\"Usage: nanddump [OPTIONS] MTD-device\\n\"\n-\t\t\t\"Dumps the contents of a nand mtd partition.\\n\"\n-\t\t\t\"\\n\"\n-\t\t\t\"           --help\t        display this help and exit\\n\"\n-\t\t\t\"           --version\t        output version information and exit\\n\"\n-\t\t\t\"-f file    --file=file          dump to file\\n\"\n-\t\t\t\"-i         --ignoreerrors       ignore errors\\n\"\n-\t\t\t\"-l length  --length=length      length\\n\"\n-\t\t\t\"-n         --noecc              read without error correction\\n\"\n-\t\t\t\"-o         --omitoob            omit oob data\\n\"\n-\t\t\t\"-b         --omitbad            omit bad blocks from the dump\\n\"\n-\t\t\t\"-p         --prettyprint        print nice (hexdump)\\n\"\n-\t\t\t\"-s addr    --startaddress=addr  start address\\n\");\n+\tprintf(\n+\"Usage: nanddump [OPTIONS] MTD-device\\n\"\n+\"Dumps the contents of a nand mtd partition.\\n\"\n+\"\\n\"\n+\"           --help               Display this help and exit\\n\"\n+\"           --version            Output version information and exit\\n\"\n+\"-f file    --file=file          Dump to file\\n\"\n+\"-i         --ignoreerrors       Ignore errors\\n\"\n+\"-l length  --length=length      Length\\n\"\n+\"-n         --noecc              Read without error correction\\n\"\n+\"-o         --omitoob            Omit oob data\\n\"\n+\"-b         --omitbad            Omit bad blocks from the dump\\n\"\n+\"-p         --prettyprint        Print nice (hexdump)\\n\"\n+\"-s addr    --startaddress=addr  Start address\\n\"\n+\t);\n \texit(EXIT_SUCCESS);\n }\n \n","prefixes":[]}