summaryrefslogtreecommitdiff
path: root/i3lock.c
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2010-10-06 23:39:18 +0200
committerMichael Stapelberg <michael@stapelberg.de>2010-10-06 23:39:18 +0200
commitc3affb1c61d8e9c58b234f48001c7f85e6b4fc6a (patch)
treef3cbb9d5d5fcee7cc61bbaad8708304120737d10 /i3lock.c
parentc643bb8e2f1d59408a02d874611a3534ef81ad5b (diff)
Add a hint to the error message 'unknown option' when compiled with NOLIBCAIRO
Diffstat (limited to 'i3lock.c')
-rw-r--r--i3lock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/i3lock.c b/i3lock.c
index def6116..fafbe80 100644
--- 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");
}