Skip to content

Commit

Permalink
Merge pull request #57 from kenshaw/add-ordering-to-styles-formatters
Browse files Browse the repository at this point in the history
Fix order output of chroma cli tool
  • Loading branch information
alecthomas committed Oct 10, 2017
2 parents 7f66cd3 + edf15b0 commit 26632c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/chroma/main.go
Expand Up @@ -198,12 +198,12 @@ func listAll() {
}
fmt.Println()
fmt.Printf("styles:")
for name := range styles.Registry {
for _, name := range styles.Names() {
fmt.Printf(" %s", name)
}
fmt.Println()
fmt.Printf("formatters:")
for name := range formatters.Registry {
for _, name := range formatters.Names() {
fmt.Printf(" %s", name)
}
fmt.Println()
Expand Down

0 comments on commit 26632c8

Please sign in to comment.