commit c3affb1c61d8e9c58b234f48001c7f85e6b4fc6a
parent c643bb8e2f1d59408a02d874611a3534ef81ad5b
Author: Michael Stapelberg <michael@stapelberg.de>
Date: Wed, 6 Oct 2010 23:39:18 +0200
Add a hint to the error message 'unknown option' when compiled with NOLIBCAIRO
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/i3lock.c b/i3lock.c
@@ -324,6 +324,8 @@ int main(int argc, char *argv[]) {
errx(1, "i3lock: Unknown option. Syntax: i3lock [-v] [-n] [-b] [-d] [-c color] [-p win|default]"
#ifndef NOLIBCAIRO
" [-i image.png] [-t]"
+#else
+ " (compiled with NOLIBCAIRO)"
#endif
"\n");
}