aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2018-07-10 22:08:42 -0400
committerBrian Ashworth <bosrsf04@gmail.com>2018-07-10 22:09:31 -0400
commit22d152f1fea35960eab23afdf78e87d2f6483d6e (patch)
tree68e6c321cb9762af22cc3455478911e7fd0b58dd
parent936a920a8e95c001c86b9186d36fa652f874287d (diff)
Change formatting of swaylock usage in the code
-rw-r--r--swaylock/main.c126
1 files 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 <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 [<output>:]<path> Display the given image.\n"
- " -s, --scaling <mode> 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 <color> Sets the color of backspace"
- " highlight segments.\n"
- " --font <font> Sets the font of the text.\n"
- " --indicator-radius <radius> Sets the indicator radius.\n"
- " --indicator-thickness <thick> Sets the indicator thickness.\n"
- " --inside-color <color> Sets the color of the inside of the"
- " indicator.\n"
- " --inside-clear-color <color> Sets the color of the inside of the"
- " indicator when cleared.\n"
- " --inside-ver-color <color> Sets the color of the inside of the"
- " indicator when verifying.\n"
- " --inside-wrong-color <color> Sets the color of the inside of the"
- " indicator when invalid.\n"
- " --key-hl-color <color> Sets the color of the key press"
- " highlight segments.\n"
- " --line-color <color> Sets the color of the line between"
- " the inside and ring.\n"
- " --line-clear-color <color> Sets the color of the line between"
- " the inside and ring when cleared.\n"
- " --line-ver-color <color> Sets the color of the line between"
- " the inside and ring when verifying.\n"
- " --line-wrong-color <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 <color> Sets the color of the ring of the"
- " indicator.\n"
- " --ring-clear-color <color> Sets the color of the ring of the"
- " indicator when cleared.\n"
- " --ring-ver-color <color> Sets the color of the ring of the"
- " indicator when verifying.\n"
- " --ring-wrong-color <color> Sets the color of the ring of the"
- " indicator when invalid.\n"
- " --separator-color <color> Sets the color of the lines that"
- " separate highlight segments.\n"
- " --text-color <color> Sets the color of the text.\n"
- " --text-clear-color <color> Sets the color of the text when"
- " cleared.\n"
- " --text-ver-color <color> Sets the color of the text when"
- " verifying.\n"
- " --text-wrong-color <color> Sets the color of the text when"
- " invalid.\n"
+ " -c, --color <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 [<output>:]<path> "
+ "Display the given image.\n"
+ " -s, --scaling <mode> "
+ "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 <color> "
+ "Sets the color of backspace highlight segments.\n"
+ " --font <font> "
+ "Sets the font of the text.\n"
+ " --indicator-radius <radius> "
+ "Sets the indicator radius.\n"
+ " --indicator-thickness <thick> "
+ "Sets the indicator thickness.\n"
+ " --inside-color <color> "
+ "Sets the color of the inside of the indicator.\n"
+ " --inside-clear-color <color> "
+ "Sets the color of the inside of the indicator when cleared.\n"
+ " --inside-ver-color <color> "
+ "Sets the color of the inside of the indicator when verifying.\n"
+ " --inside-wrong-color <color> "
+ "Sets the color of the inside of the indicator when invalid.\n"
+ " --key-hl-color <color> "
+ "Sets the color of the key press highlight segments.\n"
+ " --line-color <color> "
+ "Sets the color of the line between the inside and ring.\n"
+ " --line-clear-color <color> "
+ "Sets the color of the line between the inside and ring when "
+ "cleared.\n"
+ " --line-ver-color <color> "
+ "Sets the color of the line between the inside and ring when "
+ "verifying.\n"
+ " --line-wrong-color <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 <color> "
+ "Sets the color of the ring of the indicator.\n"
+ " --ring-clear-color <color> "
+ "Sets the color of the ring of the indicator when cleared.\n"
+ " --ring-ver-color <color> "
+ "Sets the color of the ring of the indicator when verifying.\n"
+ " --ring-wrong-color <color> "
+ "Sets the color of the ring of the indicator when invalid.\n"
+ " --separator-color <color> "
+ "Sets the color of the lines that separate highlight segments.\n"
+ " --text-color <color> "
+ "Sets the color of the text.\n"
+ " --text-clear-color <color> "
+ "Sets the color of the text when cleared.\n"
+ " --text-ver-color <color> "
+ "Sets the color of the text when verifying.\n"
+ " --text-wrong-color <color> "
+ "Sets the color of the text when invalid.\n"
"\n"
"All <color> options are of the form <rrggbb[aa]>.\n";