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:
committed by
Carlos R. Mafra
parent
7dc767ae78
commit
e7a46d5cdf
@@ -17,8 +17,6 @@
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#define PROG_VERSION "wxcopy 0.3"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -27,6 +25,8 @@
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xatom.h>
|
||||
|
||||
#include "../src/wconfig.h"
|
||||
|
||||
#define LINESIZE (4*1024)
|
||||
#define MAXDATA (64*1024)
|
||||
|
||||
@@ -71,7 +71,7 @@ int main(int argc, char **argv)
|
||||
print_help();
|
||||
exit(0);
|
||||
} else if (strcmp(argv[i], "-v") == 0 || strcmp(argv[i], "--version") == 0) {
|
||||
puts(PROG_VERSION);
|
||||
printf("%s (Window Maker %s)\n", __progname, VERSION);
|
||||
exit(0);
|
||||
} else if (strcmp(argv[i], "-cutbuffer") == 0 || strcmp(argv[i], "--cutbuffer") == 0) {
|
||||
if (i < argc - 1) {
|
||||
|
||||
Reference in New Issue
Block a user