Re: [PATCH 09/13] colrm: gotos, long options and argument checking

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

 



On Tue, May 24, 2011 at 10:56:40PM +0200, Sami Kerola wrote:
> +int main(int argc, char **argv)
> +{
> +	unsigned long first = 0, last = 0;
> +	int opt;
> +
> +	static const struct option longopts[] = {
> +		{"version", no_argument, 0, 'V'},
> +		{"help", no_argument, 0, 'h'},
> +		{NULL, 0, 0, 0}
> +	};
> +
> +	setlocale(LC_ALL, "");
 
and

    bindtextdomain(PACKAGE, LOCALEDIR);
    textdomain(PACKAGE);

right?

    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