Merge pull request #27566 from metral/clarify-docs

Automatic merge from submit-queue

clarify kubectl recursive flag description

Clarify the description of the recursive flag in `kubectl` so that it's more intuitive to the user

This should make it into v1.3 as the rest of the recursive feature PR's will be available in 1.3
This commit is contained in:
k8s-merge-robot 2016-06-20 13:06:40 -07:00 committed by GitHub
commit ca76cc0e9f

View File

@ -334,7 +334,7 @@ func AddValidateFlags(cmd *cobra.Command) {
}
func AddRecursiveFlag(cmd *cobra.Command, value *bool) {
cmd.Flags().BoolVarP(value, "recursive", "R", *value, "If true, process directory recursively.")
cmd.Flags().BoolVarP(value, "recursive", "R", *value, "Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.")
}
// AddDryRunFlag adds dry-run flag to a command. Usually used by mutations.