1
1
mirror of https://github.com/walles/moar.git synced 2024-11-30 02:34:13 +03:00

Tune --lang explanation

This commit is contained in:
Johan Walles 2024-01-02 15:43:33 +01:00
parent cd2a8a9d09
commit cb07ce3d3a

View File

@ -401,7 +401,7 @@ func main() {
"Highlighting style from https://xyproto.github.io/splash/docs/longer/all.html", parseStyleOption)
lexer := flagSetFunc(flagSet,
"lang", nil,
"Input file language for highlighting. Mime type or file extension (\"html\"). Defaults to auto detecting by filename.", parseLexerOption)
"File contents, used for highlighting. Mime type or file extension (\"html\"). Default is to guess by filename.", parseLexerOption)
defaultFormatter, err := parseColorsOption("auto")
if err != nil {