docs: fix capitalization in a few help messages

1. fixed capitalization in a few help messages
2. use no thrid-person verb.

ref #7898

Signed-off-by: Liu Ming <hit_oak_tree@126.com>
pull/8054/head
Liu Ming 5 years ago
parent 524150c662
commit bc515991f8

@ -48,7 +48,7 @@ func newDocsCmd(out io.Writer) *cobra.Command {
cmd := &cobra.Command{
Use: "docs",
Short: "Generate documentation as markdown or man pages",
Short: "generate documentation as markdown or man pages",
Long: docsDesc,
Hidden: true,
Args: require.NoArgs,

@ -46,7 +46,7 @@ func newLintCmd(out io.Writer) *cobra.Command {
cmd := &cobra.Command{
Use: "lint PATH",
Short: "examines a chart for possible issues",
Short: "examine a chart for possible issues",
Long: longLintHelp,
RunE: func(cmd *cobra.Command, args []string) error {
paths := []string{"."}

@ -72,7 +72,7 @@ func newShowCmd(out io.Writer) *cobra.Command {
all := &cobra.Command{
Use: "all [CHART]",
Short: "shows all information of the chart",
Short: "show all information of the chart",
Long: showAllDesc,
Args: require.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
@ -88,7 +88,7 @@ func newShowCmd(out io.Writer) *cobra.Command {
valuesSubCmd := &cobra.Command{
Use: "values [CHART]",
Short: "shows the chart's values",
Short: "show the chart's values",
Long: showValuesDesc,
Args: require.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
@ -104,7 +104,7 @@ func newShowCmd(out io.Writer) *cobra.Command {
chartSubCmd := &cobra.Command{
Use: "chart [CHART]",
Short: "shows the chart's definition",
Short: "show the chart's definition",
Long: showChartDesc,
Args: require.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
@ -120,7 +120,7 @@ func newShowCmd(out io.Writer) *cobra.Command {
readmeSubCmd := &cobra.Command{
Use: "readme [CHART]",
Short: "shows the chart's README",
Short: "show the chart's README",
Long: readmeChartDesc,
Args: require.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {

@ -50,7 +50,7 @@ func newStatusCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {
cmd := &cobra.Command{
Use: "status RELEASE_NAME",
Short: "displays the status of the named release",
Short: "display the status of the named release",
Long: statusHelp,
Args: require.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {

Loading…
Cancel
Save