kubectl: rewrite docstrings in several files
Fixing inaccuracies and clarifying in the case of ambiguities.
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user