[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