On Thu, May 02, 2013 at 07:51:34PM +0100, Sami Kerola wrote: > static const struct option longopts[] = { > {"one", no_argument, NULL, '1'}, > {"three", no_argument, NULL, '3'}, > @@ -263,6 +282,7 @@ main(int argc, char **argv) { > {"monday", no_argument, NULL, 'm'}, > {"julian", no_argument, NULL, 'j'}, > {"year", no_argument, NULL, 'y'}, > + {"highlight", required_argument, NULL, OPT_HIGHLIGHT}, I agree with Pádraig, --color seems better and extendible. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html