Add a hint to the error message 'unknown option' when compiled with NOLIBCAIRO

pull/1/head
Michael Stapelberg 2010-10-06 23:39:18 +02:00
parent c643bb8e2f
commit c3affb1c61
1 changed files with 2 additions and 0 deletions

View File

@ -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");
}