summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Nuew <code@nuew.net>2016-03-24 18:49:58 -0400
committerLibravatar Nuew <code@nuew.net>2016-03-24 18:49:58 -0400
commit644c13de77864120d999242a4a92ad053ecdc2e1 (patch)
tree7b39a828d7a604f41e5b255f8952b7979b629508
parentAdd choice of display to --image. (diff)
downloadsway-644c13de77864120d999242a4a92ad053ecdc2e1.tar.gz
sway-644c13de77864120d999242a4a92ad053ecdc2e1.tar.zst
sway-644c13de77864120d999242a4a92ad053ecdc2e1.zip
Change 'display' to 'output' in swaylock docs where necessary
-rw-r--r--swaylock/main.c14
-rw-r--r--swaylock/swaylock.1.txt4
2 files changed, 9 insertions, 9 deletions
diff --git a/swaylock/main.c b/swaylock/main.c
index 7f4c424d..202d95c2 100644
--- a/swaylock/main.c
+++ b/swaylock/main.c
@@ -250,13 +250,13 @@ int main(int argc, char **argv) {
250 const char *usage = 250 const char *usage =
251 "Usage: swaylock [options...]\n" 251 "Usage: swaylock [options...]\n"
252 "\n" 252 "\n"
253 " -h, --help Show help message and quit.\n" 253 " -h, --help Show help message and quit.\n"
254 " -c, --color <rrggbb[aa]> Turn the screen into the given color instead of white.\n" 254 " -c, --color <rrggbb[aa]> Turn the screen into the given color instead of white.\n"
255 " -s, --scaling Scaling mode: stretch, fill, fit, center, tile.\n" 255 " -s, --scaling Scaling mode: stretch, fill, fit, center, tile.\n"
256 " -t, --tiling Same as --scaling=tile.\n" 256 " -t, --tiling Same as --scaling=tile.\n"
257 " -v, --version Show the version number and quit.\n" 257 " -v, --version Show the version number and quit.\n"
258 " -i, --image [<display>:]<path> Display the given image.\n" 258 " -i, --image [<output>:]<path> Display the given image.\n"
259 " --socket <socket> Use the specified socket.\n"; 259 " --socket <socket> Use the specified socket.\n";
260 260
261 registry = registry_poll(); 261 registry = registry_poll();
262 262
diff --git a/swaylock/swaylock.1.txt b/swaylock/swaylock.1.txt
index 724573ce..c30e8d3d 100644
--- a/swaylock/swaylock.1.txt
+++ b/swaylock/swaylock.1.txt
@@ -26,8 +26,8 @@ Options
26 Turn the screen into the given color instead of white. If an image is in use, 26 Turn the screen into the given color instead of white. If an image is in use,
27 also enables color display. 27 also enables color display.
28 28
29*-i, \--image* [<display>:]<path>:: 29*-i, \--image* [<output>:]<path>::
30 Display the given image, optionally only on the given display. 30 Display the given image, optionally only on the given output.
31 31
32*-s, \--scaling*:: 32*-s, \--scaling*::
33 Scaling mode for images: stretch, fill, fit, center, or tile. 33 Scaling mode for images: stretch, fill, fit, center, or tile.