changeset: 29:9e733fc35c66
tag: tip
user: Anselm R. Garbe <garbeam_AT_gmail.com>
date: Sat Nov 24 21:27:44 2007 +0100
summary: next version will be 0.8
diff -r a671f701ef98 -r 9e733fc35c66 config.mk
--- a/config.mk Sat Nov 24 21:18:06 2007 +0100
+++ b/config.mk Sat Nov 24 21:27:44 2007 +0100
@@ -1,5 +1,5 @@
# slock version
-VERSION = 0.7
+VERSION = 0.8
# Customize below to fit your system
diff -r a671f701ef98 -r 9e733fc35c66 slock.c
--- a/slock.c Sat Nov 24 21:18:06 2007 +0100
+++ b/slock.c Sat Nov 24 21:27:44 2007 +0100
@@ -69,8 +69,10 @@ main(int argc, char **argv) {
XEvent ev;
XSetWindowAttributes wa;
- if((argc > 1) && !strncmp(argv[1], "-v", 3))
+ if((argc == 2) && !strcmp("-v", argv[1]))
eprint("slock-"VERSION", © 2006-2007 Anselm R. Garbe, Sander van Dijk\n");
+ else if(argc != 1)
+ eprint("usage: slock [-v]\n");
pws = get_password();
if(!(dpy = XOpenDisplay(0)))
eprint("slock: cannot open display\n");
Received on Sat Nov 24 2007 - 21:32:36 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:58:51 UTC