]> git.sur5r.net Git - i3/i3lock/commitdiff
Add a hint to the error message 'unknown option' when compiled with NOLIBCAIRO
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 6 Oct 2010 21:39:18 +0000 (23:39 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 6 Oct 2010 21:39:18 +0000 (23:39 +0200)
i3lock.c

index def6116ca1b1db481d9d82abc5ff9cbfbdd72395..fafbe80bf0bbb1666dc2400a2d6e707519b50ae8 100644 (file)
--- 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");
         }