mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-03 23:03:53 +00:00
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:
@@ -56,7 +56,7 @@ var (
|
|||||||
|
|
||||||
KUBECTL_EXTERNAL_DIFF environment variable can be used to select your own
|
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
|
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(`
|
diffExample = templates.Examples(i18n.T(`
|
||||||
# Diff resources included in pod.json.
|
# Diff resources included in pod.json.
|
||||||
kubectl diff -f pod.json
|
kubectl diff -f pod.json
|
||||||
|
|||||||
Reference in New Issue
Block a user