From 5a3a0d6bdab4d01292c4c8f6011a3b67cadb8ef6 Mon Sep 17 00:00:00 2001 From: Lance Ball Date: Thu, 10 Dec 2020 06:10:52 -0500 Subject: [PATCH] fix: fix the help text for the describe function (#243) That must have been a copy/paste error. Signed-off-by: Lance Ball --- cmd/describe.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/describe.go b/cmd/describe.go index 6ddaf8b55..c69c59705 100644 --- a/cmd/describe.go +++ b/cmd/describe.go @@ -17,7 +17,7 @@ import ( func init() { root.AddCommand(describeCmd) - 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)") + 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)") describeCmd.Flags().StringP("format", "f", "human", "Output format (human|plain|json|xml|yaml) (Env: $FUNC_FORMAT)") describeCmd.Flags().StringP("path", "p", cwd(), "Path to the project directory (Env: $FUNC_PATH)") @@ -35,7 +35,7 @@ var describeCmd = &cobra.Command{ Prints the name, route and any event subscriptions for a deployed function in the current directory or from the directory specified with --path. `, - Example: ` + Example: ` # Show the details of a function as declared in the local func.yaml kn func describe