diff --git a/documentation/content/en/reference/cli/fn/source/_index.md b/documentation/content/en/reference/cli/fn/source/_index.md index 4f933463b7..59909b4e13 100644 --- a/documentation/content/en/reference/cli/fn/source/_index.md +++ b/documentation/content/en/reference/cli/fn/source/_index.md @@ -62,10 +62,10 @@ $ kpt fn source DIR ```shell # read resources from DIR directory, execute my-fn on them and write the -# output to DIR directory. +# output to OTHER_DIR directory. $ kpt fn source DIR | kpt fn eval - --image ghcr.io/example.com/my-fn - | - kpt fn sink DIR + kpt fn sink OTHER_DIR ``` diff --git a/internal/docs/generated/fndocs/docs.go b/internal/docs/generated/fndocs/docs.go index 0b2b24a16e..63f3770b99 100644 --- a/internal/docs/generated/fndocs/docs.go +++ b/internal/docs/generated/fndocs/docs.go @@ -441,8 +441,8 @@ var SourceExamples = ` $ kpt fn source DIR # read resources from DIR directory, execute my-fn on them and write the - # output to DIR directory. + # output to OTHER_DIR directory. $ kpt fn source DIR | kpt fn eval - --image ghcr.io/example.com/my-fn - | - kpt fn sink DIR + kpt fn sink OTHER_DIR `