Nicer version info
This commit is contained in:
parent
caf982d175
commit
800143affb
2
Makefile
2
Makefile
|
@ -1,6 +1,6 @@
|
||||||
all: sxiv
|
all: sxiv
|
||||||
|
|
||||||
VERSION=0.6
|
VERSION=git-20110217
|
||||||
|
|
||||||
CC?=gcc
|
CC?=gcc
|
||||||
PREFIX?=/usr/local
|
PREFIX?=/usr/local
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue