Just because Eric questioned this on IRC: On Thu, Jun 07, 2018 at 04:55:33PM -0700, Luis R. Rodriguez wrote: > - /* copy new defaults into CLI parsing structure */ > + /* > + * Pull config line options from command line > + */ > + while ((c = getopt(argc, argv, "b:c:d:i:l:L:m:n:KNp:qr:s:CfV")) != EOF) { opterr = 0; while ((c = getopt(argc, argv, "c:")) != EOF) { And then reset opterr = 1 when optind gets reset so it warns about unknown options again. It's in the man page! Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html