kubectl: rewrite docstrings in several files

Fixing inaccuracies and clarifying in the case of ambiguities.
This commit is contained in:
Alexander Campbell
2017-05-25 12:23:22 -07:00
parent d29560d89a
commit f9913c4948
8 changed files with 31 additions and 20 deletions

View File

@@ -40,7 +40,7 @@ type CreateOptions struct {
var (
create_long = templates.LongDesc(i18n.T(`
Create a resource by filename or stdin.
Create a resource from a file or from stdin.
JSON and YAML formats are accepted.`))
@@ -60,7 +60,7 @@ func NewCmdCreate(f cmdutil.Factory, out, errOut io.Writer) *cobra.Command {
cmd := &cobra.Command{
Use: "create -f FILENAME",
Short: i18n.T("Create a resource by filename or stdin"),
Short: i18n.T("Create a resource from a file or from stdin."),
Long: create_long,
Example: create_example,
Run: func(cmd *cobra.Command, args []string) {