From: Cyrill G. <gor...@gm...> - 2014-01-08 17:44:02
|
On Wed, Jan 08, 2014 at 09:40:19AM -0800, H. Peter Anvin wrote: > > > > I don't see a reason why can't we. I've udated patch a bit though. Peter? > > Presumably we should handle both --v and --version, but I'd prefer if we > actually implemented the second '-' as a separate case clause and did > whole string comparisons, for future use. > > Even better might be to adopt getopt_long(), I think I have a > BSD-licensed implementation of getopt_long() sitting around somewhere... Good point! I'll take a look once time permit. (Or if someone beat me on this I won't mind ;) |