Re: [PATCH 09/16] cal: add --highligth option which uses argmatch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux