On Tue, Jan 27, 2015 at 03:05:52PM +0000, Hugo Mills wrote: > The current approach to option parsing, where long-only options are > selected on the basis of their position in the long_options array is > fragile and painful to modify if options are to be inserted into the > list, rather than appended. > > Instead, use the last field of struct option to return a value which > cannot be a char (and hence a short option), and simply switch on those > within the case statement. > > Signed-off-by: Hugo Mills <hugo@xxxxxxxxxxxxx> Both applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
