From c3affb1c61d8e9c58b234f48001c7f85e6b4fc6a Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 6 Oct 2010 23:39:18 +0200 Subject: Add a hint to the error message 'unknown option' when compiled with NOLIBCAIRO --- i3lock.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'i3lock.c') 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"); } -- cgit v1.1