Update help string for long options

This commit is contained in:
jaseg 2020-12-25 15:38:21 +01:00
parent 460259df6f
commit a924f2a523

View file

@ -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"