|
|
@ -250,13 +250,13 @@ int main(int argc, char **argv) {
|
|
|
|
const char *usage =
|
|
|
|
const char *usage =
|
|
|
|
"Usage: swaylock [options...]\n"
|
|
|
|
"Usage: swaylock [options...]\n"
|
|
|
|
"\n"
|
|
|
|
"\n"
|
|
|
|
" -h, --help Show help message and quit.\n"
|
|
|
|
" -h, --help Show help message and quit.\n"
|
|
|
|
" -c, --color <rrggbb[aa]> Turn the screen into the given color instead of white.\n"
|
|
|
|
" -c, --color <rrggbb[aa]> Turn the screen into the given color instead of white.\n"
|
|
|
|
" -s, --scaling Scaling mode: stretch, fill, fit, center, tile.\n"
|
|
|
|
" -s, --scaling Scaling mode: stretch, fill, fit, center, tile.\n"
|
|
|
|
" -t, --tiling Same as --scaling=tile.\n"
|
|
|
|
" -t, --tiling Same as --scaling=tile.\n"
|
|
|
|
" -v, --version Show the version number and quit.\n"
|
|
|
|
" -v, --version Show the version number and quit.\n"
|
|
|
|
" -i, --image [<display>:]<path> Display the given image.\n"
|
|
|
|
" -i, --image [<output>:]<path> Display the given image.\n"
|
|
|
|
" --socket <socket> Use the specified socket.\n";
|
|
|
|
" --socket <socket> Use the specified socket.\n";
|
|
|
|
|
|
|
|
|
|
|
|
registry = registry_poll();
|
|
|
|
registry = registry_poll();
|
|
|
|
|
|
|
|
|
|
|
|