From: Michael Stapelberg Date: Wed, 6 Oct 2010 21:39:18 +0000 (+0200) Subject: Add a hint to the error message 'unknown option' when compiled with NOLIBCAIRO X-Git-Tag: 2.1~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c3affb1c61d8e9c58b234f48001c7f85e6b4fc6a;p=i3%2Fi3lock Add a hint to the error message 'unknown option' when compiled with NOLIBCAIRO --- 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"); }