[linux-minidisc] [PATCH] himddump now uses getopt for option parsing
- From: "Kevin Chabowski" <kevin@kch42.de>
- To: linux-minidisc@lists.fu-berlin.de
- Date: Wed, 06 Oct 2010 21:40:58 +0200
- Subject: [linux-minidisc] [PATCH] himddump now uses getopt for option parsing
Hello everyone, "https://wiki.physik.fu-berlin.de/linux-minidisc/doku.php?id=tasks" wrote:
add –help option to himddump, himddiskid and himdformat (http://www.gnu.org/s/libc/manual/html_node/Getopt.html)
So I replaced the option parsing code of himddump.c with a version that uses GNU getopt. Of course it also has an '--help' option ;-). If you like it, I can also do this for himddiskid and himdformat (should be no problem). The .patch file is in the attachment. Kevin -- kevin@kch42.de or der.pc222@googlemail.com aUVETVhLXl9GS15DRURZBApzRV8KTEVfRE4KXkJPCllPSVhPXgpHT1lZS01PCw==
Attachment:
0001-himddump-now-uses-getopt-for-option-parsing.patch
Description: Binary data
- Follow-Ups:
- Re: [linux-minidisc] [PATCH] himddump now uses getopt for option parsing
- From: Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
- Re: [linux-minidisc] [PATCH] himddump now uses getopt for option parsing
-
linux-minidisc - October 2010 - Archives indexes sorted by:
[ thread ] [ subject ] [ author ] [ date ] - Complete archive of the linux-minidisc mailing list
- More info on this list...