diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2020-06-20 05:28:14 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2020-06-20 05:28:14 -0400 |
commit | fc19a82a10dc797605d6cb5d9028685644c6db3d (patch) | |
tree | 7687241719b12f752a8c34e1f849921434601e9e /src/twm.c | |
parent | d2690bc70d707b7a3a49839787d20eabc138e391 (diff) |
make the "-V" version print less cluttered (and more like most programs)
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/twm.c')
-rw-r--r-- | src/twm.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -69,7 +69,6 @@ in this Software without prior written authorization from The Open Group. #include "add_window.h" #include "gc.h" #include "parse.h" -#include "version.h" #include "menus.h" #include "events.h" #include "util.h" @@ -77,7 +76,6 @@ in this Software without prior written authorization from The Open Group. #include "screen.h" #include "parse.h" #include "session.h" -#include "version.h" #include <X11/Xproto.h> #include <X11/Xatom.h> @@ -277,7 +275,7 @@ main(int argc, char *argv[]) if (argv[i][0] == '-') { switch (argv[i][1]) { case 'V': - printf("%s %s\n", ProgramName, Version); + printf("%s %s\n", APP_NAME, APP_VERSION); exit(EXIT_SUCCESS); case 'd': /* -display dpy */ if (!brief_opt(argv[i], "display")) |