Skip to content

Commit

Permalink
Merge pull request #21000 from soltysh/deprecate_types
Browse files Browse the repository at this point in the history
Deprecate oc types
  • Loading branch information
openshift-merge-robot committed Sep 17, 2018
2 parents 649d7d3 + 9d9e8f0 commit a8ab70e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 91 deletions.
43 changes: 0 additions & 43 deletions contrib/completions/bash/oc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 0 additions & 43 deletions contrib/completions/zsh/oc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions pkg/oc/cli/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,12 @@ func NewCmdTypes(fullName string, f kcmdutil.Factory, streams genericclioptions.
writeConcept(buf, c)
}
cmd := &cobra.Command{
Use: "types",
Short: "An introduction to concepts and types",
Long: fmt.Sprintf(typesLong, buf.String()),
Example: fmt.Sprintf(typesExample, fullName),
Run: kcmdutil.DefaultSubCommandRun(streams.Out),
Use: "types",
Short: "An introduction to concepts and types",
Long: fmt.Sprintf(typesLong, buf.String()),
Example: fmt.Sprintf(typesExample, fullName),
Deprecated: "refer to official documentation instead",
Run: kcmdutil.DefaultSubCommandRun(streams.Out),
}
return cmd
}

0 comments on commit a8ab70e

Please sign in to comment.