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:
parent
cd2a8a9d09
commit
cb07ce3d3a
2
moar.go
2
moar.go
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user