Nicer version info

This commit is contained in:
Bert 2011-02-17 13:20:10 +01:00
parent caf982d175
commit 800143affb
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
all: sxiv
VERSION=0.6
VERSION=git-20110217
CC?=gcc
PREFIX?=/usr/local

View File

@ -34,8 +34,7 @@ void print_usage() {
}
void print_version() {
printf("sxiv - simple x image viewer\n");
printf("Version %s, written by Bert Muennich\n", VERSION);
printf("sxiv version %s - simple x image viewer\n", VERSION);
}
void parse_options(int argc, char **argv) {