summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2020-12-25 15:38:21 +0100
committerjaseg <git@jaseg.net>2020-12-25 15:38:21 +0100
commita924f2a5238bc0a124739c48d9d6408862de7164 (patch)
tree000689f045d6cb6ced8132625cb84777694ce0b3
parent460259df6f2af878fa576a0d698f9074dc793c04 (diff)
downloadlolcat-a924f2a5238bc0a124739c48d9d6408862de7164.tar.gz
lolcat-a924f2a5238bc0a124739c48d9d6408862de7164.tar.bz2
lolcat-a924f2a5238bc0a124739c48d9d6408862de7164.zip
Update help string for long options
-rwxr-xr-xlolcat.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/lolcat.c b/lolcat.c
index 9d872ed..0fcd912 100755
--- a/lolcat.c
+++ b/lolcat.c
@@ -35,15 +35,16 @@ static char helpstr[] = "\n"
"Concatenate FILE(s), or standard input, to standard output.\n"
"With no FILE, or when FILE is -, read standard input.\n"
"\n"
- " -h <d>: Horizontal rainbow frequency (default: 0.23)\n"
- " -v <d>: Vertical rainbow frequency (default: 0.1)\n"
- " -f: Force color even when stdout is not a tty\n"
- " -l: Use encoding from system locale instead of assuming UTF-8\n"
- " -r: Random colors\n"
- " -b: Output in 24-bit \"true\" RGB mode (slower and not"
- " supported by all terminals)\n"
- " --version: Print version and exit\n"
- " --help: Show this message\n"
+ "--horizontal-frequency <d>, -h <d>: Horizontal rainbow frequency (default: 0.23)\n"
+ " --vertical-frequency <d>, -v <d>: Vertical rainbow frequency (default: 0.1)\n"
+ " --force-color, -f: Force color even when stdout is not a tty\n"
+ " --no-force-locale, -l: Use encoding from system locale instead of\n"
+ " assuming UTF-8\n"
+ " --random, -r: Random colors\n"
+ " --24bit, -b: Output in 24-bit \"true\" RGB mode (slower and\n"
+ " not supported by all terminals)\n"
+ " --version: Print version and exit\n"
+ " --help: Show this message\n"
"\n"
"Examples:\n"
" lolcat f - g Output f's contents, then stdin, then g's contents.\n"