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.
This commit is contained in:
David Symonds 2019-05-22 13:34:30 +10:00
parent b327a729c5
commit 0af2dedd96

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