diff --git a/cmd/gomtree/main.go b/cmd/gomtree/main.go index 0941e2f..a70b303 100644 --- a/cmd/gomtree/main.go +++ b/cmd/gomtree/main.go @@ -47,6 +47,9 @@ func main() { // -k if *flUseKeywords != "" { currentKeywords = splitKeywordsArg(*flUseKeywords) + if !inSlice("type", currentKeywords) { + currentKeywords = append([]string{"type"}, currentKeywords...) + } } else { currentKeywords = mtree.DefaultKeywords[:] }