From 800143affb9a6664c8a8df496574a268b43fdc17 Mon Sep 17 00:00:00 2001 From: Bert Date: Thu, 17 Feb 2011 13:20:10 +0100 Subject: Nicer version info --- Makefile | 2 +- options.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a07e94f..1a6c8a4 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ all: sxiv -VERSION=0.6 +VERSION=git-20110217 CC?=gcc PREFIX?=/usr/local diff --git a/options.c b/options.c index 0a1aeda..286d0b6 100644 --- a/options.c +++ b/options.c @@ -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) { -- cgit v1.2.3-54-g00ecf