diff options
author | Steven Schubiger <stsc@refcnt.org> | 2017-12-20 20:27:24 +0100 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2017-12-20 20:27:24 +0100 |
commit | 50c854a0abbb5a741c35b718bb1bf04eb84985d5 (patch) | |
tree | 416f7f2b1a28b6ce700a61261b4d26ab1ba5bdb9 /colorize.c | |
parent | c3d41c66eccb2d33efb03a2a7576f1121430ae89 (diff) | |
download | colorize-50c854a0abbb5a741c35b718bb1bf04eb84985d5.tar.gz colorize-50c854a0abbb5a741c35b718bb1bf04eb84985d5.tar.bz2 |
Define PROGRAM_NAME
Diffstat (limited to 'colorize.c')
-rw-r--r-- | colorize.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -122,6 +122,8 @@ #define MAX_ATTRIBUTE_CHARS (6 * 2) +#define PROGRAM_NAME "colorize" + #define VERSION "0.63" typedef enum { false, true } bool; @@ -597,7 +599,7 @@ print_version (void) #endif version_prefix = version ? "" : "v"; version_string = version ? version : VERSION; - printf ("colorize %s%s (compiled at %s, %s)\n", version_prefix, version_string, __DATE__, __TIME__); + printf ("%s %s%s (compiled at %s, %s)\n", PROGRAM_NAME, version_prefix, version_string, __DATE__, __TIME__); printf ("Compiler flags: %s\n", c_flags); printf ("Linker flags: %s\n", ld_flags); |