Skip to content

Commit

Permalink
Fix broken color code example
Browse files Browse the repository at this point in the history
  • Loading branch information
owenthereal committed Jun 21, 2015
1 parent 2b0dc03 commit 95330b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func main() {
Long: "Colorize FILE(s), or standard input, to standard output.",
Example: `$ ccat FILE1 FILE2 ...
$ ccat --bg=dark FILE1 FILE2 ... # dark background
$ ccat --color-code String="_darkblue_" --color-code Plaintext="darkred" FILE # set color codes
$ ccat -G String="_darkblue_" -G Plaintext="darkred" FILE # set color codes
$ ccat --palette # show palette
$ ccat # read from standard input
$ curl https://raw.githubusercontent.com/jingweno/ccat/master/main.go | ccat`,
Expand All @@ -106,7 +106,7 @@ Flags:
{{.LocalFlags.FlagUsages}}
Using color is auto both by default and with --color=auto. With --color=auto,
ccat emits color codes only when standard output is connected to a terminal.
Color codes can be changed with --color-code KEY=VALUE. List of color codes can
Color codes can be changed with -G KEY=VALUE. List of color codes can
be found with --palette.
Examples:
Expand Down

0 comments on commit 95330b7

Please sign in to comment.