[PATCH:xscope] Add -V option to print version and exit
Alan Coopersmith
alan.coopersmith at oracle.com
Fri Oct 19 22:36:50 PDT 2012
On 10/19/12 10:29 PM, Alan Coopersmith wrote:
> + case 'V': /* print version & exit */
> + printf("%s\n", PACKAGE_STRING);
> + exit(0);
> +
BTW, should someone be sufficiently bored or inspired, it would be nice
to do this in more of the X.Org apps (including --version in the few that
do the gnu-style long option support).
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list