Skip to content

Commit

Permalink
Print COLORTERM value with --help
Browse files Browse the repository at this point in the history
Since it affects moar's default color rendering mode.
  • Loading branch information
walles committed Feb 10, 2024
1 parent 01f9773 commit 59270d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions moar.go
Expand Up @@ -193,6 +193,7 @@ func printUsage(flagSet *flag.FlagSet, colors twin.ColorType) {

envSection += renderPlainEnvVar("TERM")
envSection += renderPlainEnvVar("TERM_PROGRAM")
envSection += renderPlainEnvVar("COLORTERM")

// Requested here: https://github.com/walles/moar/issues/170#issuecomment-1891154661
envSection += renderPlainEnvVar("MANROFFOPT")
Expand Down

0 comments on commit 59270d6

Please sign in to comment.