diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2010-10-06 23:39:18 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2010-10-06 23:39:18 +0200 |
commit | c3affb1c61d8e9c58b234f48001c7f85e6b4fc6a (patch) | |
tree | f3cbb9d5d5fcee7cc61bbaad8708304120737d10 /i3lock.c | |
parent | c643bb8e2f1d59408a02d874611a3534ef81ad5b (diff) |
Add a hint to the error message 'unknown option' when compiled with NOLIBCAIRO
Diffstat (limited to 'i3lock.c')
-rw-r--r-- | i3lock.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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"); } |