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 all: sxiv
VERSION=0.6 VERSION=git-20110217
CC?=gcc CC?=gcc
PREFIX?=/usr/local PREFIX?=/usr/local

View File

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