make edit respect --save-config

This commit is contained in:
ymqytw
2017-02-27 09:47:26 -08:00
parent 77733c2afd
commit 1cebb2c1bb
17 changed files with 369 additions and 5 deletions

View File

@@ -404,7 +404,7 @@ func AddDryRunFlag(cmd *cobra.Command) {
}
func AddApplyAnnotationFlags(cmd *cobra.Command) {
cmd.Flags().Bool(ApplyAnnotationsFlag, false, "If true, the configuration of current object will be saved in its annotation. This is useful when you want to perform kubectl apply on this object in the future.")
cmd.Flags().Bool(ApplyAnnotationsFlag, false, "If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.")
}
// AddGeneratorFlags adds flags common to resource generation commands