Shawn Bohrer <shawn.bohrer@xxxxxxxxx> writes: > This adds the PARSE_OPT_NO_ERROR_ON_UNKNOWN flag which prevents > parse_options() from erroring out when it finds an unknown option, > and leaves the original command and unknown options in argv. I have to say that this conceptually is broken. How would you tell without knowing what "--flag" is if the thing in argv[] after that is a parameter to that option or the end of the options? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html