1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

Attach utils versions to WM version

This commit is contained in:
Tamas TEVESZ
2010-04-01 19:05:25 +02:00
committed by Carlos R. Mafra
parent 7dc767ae78
commit e7a46d5cdf
10 changed files with 12 additions and 30 deletions

View File

@@ -20,8 +20,6 @@
* USA.
*/
#define PROG_VERSION "seticons (Window Maker) 0.1"
#ifdef __GLIBC__
#define _GNU_SOURCE /* getopt_long */
#endif
@@ -65,7 +63,7 @@ int main(int argc, char **argv)
while ((ch = getopt_long(argc, argv, "hv", longopts, NULL)) != -1)
switch(ch) {
case 'v':
puts(PROG_VERSION);
printf("%s (Window Maker %s)\n", __progname, VERSION);
return 0;
/* NOTREACHED */
case 'h':