From 22d152f1fea35960eab23afdf78e87d2f6483d6e Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Tue, 10 Jul 2018 22:08:42 -0400 Subject: Change formatting of swaylock usage in the code --- swaylock/main.c | 126 +++++++++++++++++++++++++++++++------------------------- 1 file changed, 69 insertions(+), 57 deletions(-) diff --git a/swaylock/main.c b/swaylock/main.c index abdb00f5..faebc757 100644 --- a/swaylock/main.c +++ b/swaylock/main.c @@ -487,63 +487,75 @@ int main(int argc, char **argv) { const char usage[] = "Usage: swaylock [options...]\n" "\n" - " -c, --color Turn the screen into the given color" - " instead of white.\n" - " -e, --ignore-empty-password When an empty password is provided" - " by the user, do not validate it.\n" - " -f, --daemonize Detach from the controlling terminal" - " after locking.\n" - " -h, --help Show help message and quit.\n" - " -i, --image [:] Display the given image.\n" - " -s, --scaling Scaling mode: stretch, fill, fit," - " center, tile.\n" - " -t, --tiling Same as --scaling=tile.\n" - " -u, --no-unlock-indicator Disable the unlock indicator.\n" - " -v, --version Show the version number and quit.\n" - " --bs-hl-color Sets the color of backspace" - " highlight segments.\n" - " --font Sets the font of the text.\n" - " --indicator-radius Sets the indicator radius.\n" - " --indicator-thickness Sets the indicator thickness.\n" - " --inside-color Sets the color of the inside of the" - " indicator.\n" - " --inside-clear-color Sets the color of the inside of the" - " indicator when cleared.\n" - " --inside-ver-color Sets the color of the inside of the" - " indicator when verifying.\n" - " --inside-wrong-color Sets the color of the inside of the" - " indicator when invalid.\n" - " --key-hl-color Sets the color of the key press" - " highlight segments.\n" - " --line-color Sets the color of the line between" - " the inside and ring.\n" - " --line-clear-color Sets the color of the line between" - " the inside and ring when cleared.\n" - " --line-ver-color Sets the color of the line between" - " the inside and ring when verifying.\n" - " --line-wrong-color Sets the color of the line between" - " the inside and ring when invalid.\n" - " -n, --line-uses-inside Use the inside color for the line" - " between the inside and ring.\n" - " -r, --line-uses-ring Use the ring color for the line" - " between the inside and ring.\n" - " --ring-color Sets the color of the ring of the" - " indicator.\n" - " --ring-clear-color Sets the color of the ring of the" - " indicator when cleared.\n" - " --ring-ver-color Sets the color of the ring of the" - " indicator when verifying.\n" - " --ring-wrong-color Sets the color of the ring of the" - " indicator when invalid.\n" - " --separator-color Sets the color of the lines that" - " separate highlight segments.\n" - " --text-color Sets the color of the text.\n" - " --text-clear-color Sets the color of the text when" - " cleared.\n" - " --text-ver-color Sets the color of the text when" - " verifying.\n" - " --text-wrong-color Sets the color of the text when" - " invalid.\n" + " -c, --color " + "Turn the screen into the given color instead of white.\n" + " -e, --ignore-empty-password " + "When an empty password is provided, do not validate it.\n" + " -f, --daemonize " + "Detach from the controlling terminal after locking.\n" + " -h, --help " + "Show help message and quit.\n" + " -i, --image [:] " + "Display the given image.\n" + " -s, --scaling " + "Scaling mode: stretch, fill, fit, center, tile.\n" + " -t, --tiling " + "Same as --scaling=tile.\n" + " -u, --no-unlock-indicator " + "Disable the unlock indicator.\n" + " -v, --version " + "Show the version number and quit.\n" + " --bs-hl-color " + "Sets the color of backspace highlight segments.\n" + " --font " + "Sets the font of the text.\n" + " --indicator-radius " + "Sets the indicator radius.\n" + " --indicator-thickness " + "Sets the indicator thickness.\n" + " --inside-color " + "Sets the color of the inside of the indicator.\n" + " --inside-clear-color " + "Sets the color of the inside of the indicator when cleared.\n" + " --inside-ver-color " + "Sets the color of the inside of the indicator when verifying.\n" + " --inside-wrong-color " + "Sets the color of the inside of the indicator when invalid.\n" + " --key-hl-color " + "Sets the color of the key press highlight segments.\n" + " --line-color " + "Sets the color of the line between the inside and ring.\n" + " --line-clear-color " + "Sets the color of the line between the inside and ring when " + "cleared.\n" + " --line-ver-color " + "Sets the color of the line between the inside and ring when " + "verifying.\n" + " --line-wrong-color " + "Sets the color of the line between the inside and ring when " + "invalid.\n" + " -n, --line-uses-inside " + "Use the inside color for the line between the inside and ring.\n" + " -r, --line-uses-ring " + "Use the ring color for the line between the inside and ring.\n" + " --ring-color " + "Sets the color of the ring of the indicator.\n" + " --ring-clear-color " + "Sets the color of the ring of the indicator when cleared.\n" + " --ring-ver-color " + "Sets the color of the ring of the indicator when verifying.\n" + " --ring-wrong-color " + "Sets the color of the ring of the indicator when invalid.\n" + " --separator-color " + "Sets the color of the lines that separate highlight segments.\n" + " --text-color " + "Sets the color of the text.\n" + " --text-clear-color " + "Sets the color of the text when cleared.\n" + " --text-ver-color " + "Sets the color of the text when verifying.\n" + " --text-wrong-color " + "Sets the color of the text when invalid.\n" "\n" "All options are of the form .\n"; -- cgit v1.2.3