Browse Source

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

master
Michael Stapelberg 14 years ago
parent
commit
c3affb1c61
  1. 2
      i3lock.c

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

Loading…
Cancel
Save