summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorOlegs Jeremejevs <olegs@jeremejevs.com>2019-09-12 18:15:18 +0300
committerDrew DeVault <sir@cmpwn.com>2019-09-12 16:33:24 -0400
commit426e1ce93d1344414bd3fa0eb7cd50d7ca9ec075 (patch)
tree54e25ee4813ab3b0d4372ccf54a69fb2d3e677d7 /main.c
parentba31e2eaee6a08514a449916491f9a446e745770 (diff)
Fix, clean up and sync docs and completions
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/main.c b/main.c
index 2080d45..e110f08 100644
--- a/main.c
+++ b/main.c
@@ -548,7 +548,6 @@ static int parse_options(int argc, char **argv, struct swaylock_state *state,
{"disable-caps-lock-text", no_argument, NULL, 'L'},
{"indicator-caps-lock", no_argument, NULL, 'l'},
{"line-uses-inside", no_argument, NULL, 'n'},
- {"socket", required_argument, NULL, 'p'},
{"line-uses-ring", no_argument, NULL, 'r'},
{"scaling", required_argument, NULL, 's'},
{"tiling", no_argument, NULL, 't'},
@@ -611,7 +610,7 @@ static int parse_options(int argc, char **argv, struct swaylock_state *state,
" -h, --help "
"Show help message and quit.\n"
" -i, --image [[<output>]:]<path> "
- "Display the given image.\n"
+ "Display the given image, optionally only on the given output.\n"
" -k, --show-keyboard-layout "
"Display the current xkb layout while typing.\n"
" -K, --hide-keyboard-layout "
@@ -621,7 +620,7 @@ static int parse_options(int argc, char **argv, struct swaylock_state *state,
" -l, --indicator-caps-lock "
"Show the current Caps Lock state also on the indicator.\n"
" -s, --scaling <mode> "
- "Scaling mode: stretch, fill, fit, center, tile.\n"
+ "Image scaling mode: stretch, fill, fit, center, tile, solid_color.\n"
" -t, --tiling "
"Same as --scaling=tile.\n"
" -u, --no-unlock-indicator "