Fix description of diff flags.

Running `diff -u` produces a unified diff. It isn't related to Unicode.
Also, `diff -N` treats _absent_ files as empty, not new files.

Kubernetes-commit: 0af2dedd96e973f4ed59af0cc325a70ca0b9100a
This commit is contained in:
David Symonds 2019-05-22 13:34:30 +10:00 committed by Kubernetes Publisher
parent 242d795625
commit deabbd435b
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ var (
KUBECTL_EXTERNAL_DIFF environment variable can be used to select your own
diff command. By default, the "diff" command available in your path will be
run with "-u" (unicode) and "-N" (treat new files as empty) options.`))
run with "-u" (unified diff) and "-N" (treat absent files as empty) options.`))
diffExample = templates.Examples(i18n.T(`
# Diff resources included in pod.json.
kubectl diff -f pod.json