Skip to content

Commit 5a3a0d6

Browse files
authored
fix: fix the help text for the describe function (#243)
That must have been a copy/paste error. Signed-off-by: Lance Ball <lball@redhat.com>
1 parent 9ed6478 commit 5a3a0d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/describe.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717

1818
func init() {
1919
root.AddCommand(describeCmd)
20-
describeCmd.Flags().StringP("namespace", "n", "", "Namespace of the function to undeploy. By default, the namespace in func.yaml is used or the actual active namespace if not set in the configuration. (Env: $FUNC_NAMESPACE)")
20+
describeCmd.Flags().StringP("namespace", "n", "", "Namespace of the function. By default, the namespace in func.yaml is used or the actual active namespace if not set in the configuration. (Env: $FUNC_NAMESPACE)")
2121
describeCmd.Flags().StringP("format", "f", "human", "Output format (human|plain|json|xml|yaml) (Env: $FUNC_FORMAT)")
2222
describeCmd.Flags().StringP("path", "p", cwd(), "Path to the project directory (Env: $FUNC_PATH)")
2323

@@ -35,7 +35,7 @@ var describeCmd = &cobra.Command{
3535
Prints the name, route and any event subscriptions for a deployed function in
3636
the current directory or from the directory specified with --path.
3737
`,
38-
Example: `
38+
Example: `
3939
# Show the details of a function as declared in the local func.yaml
4040
kn func describe
4141

0 commit comments

Comments
 (0)