You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: cmd/describe.go
+8-8
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,10 @@ import (
18
18
funcinit() {
19
19
root.AddCommand(describeCmd)
20
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)")
21
-
describeCmd.Flags().StringP("format", "f", "human", "Output format (human|plain|json|xml|yaml) (Env: $FUNC_FORMAT)")
21
+
describeCmd.Flags().StringP("output", "o", "human", "Output format (human|plain|json|xml|yaml) (Env: $FUNC_OUTPUT)")
22
22
describeCmd.Flags().StringP("path", "p", cwd(), "Path to the project directory (Env: $FUNC_PATH)")
Copy file name to clipboardexpand all lines: cmd/list.go
+11-11
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,8 @@ func init() {
20
20
root.AddCommand(listCmd)
21
21
listCmd.Flags().BoolP("all-namespaces", "A", false, "List functions in all namespaces. If set, the --namespace flag is ignored.")
22
22
listCmd.Flags().StringP("namespace", "n", "", "Namespace of the function to undeploy. By default, the functions of the actual active namespace are listed. (Env: $FUNC_NAMESPACE)")
23
-
listCmd.Flags().StringP("format", "f", "human", "Output format (human|plain|json|xml|yaml) (Env: $FUNC_FORMAT)")
Copy file name to clipboardexpand all lines: docs/commands.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -80,13 +80,13 @@ Prints the name, route and any event subscriptions for a deployed Function. The
80
80
Similar `kn` command: `kn service describe NAME [flags]`. This flag provides a lot of nice information not available in `func describe`, such as revisions, age, annotations and labels. This command should be renamed to make it distinct from `kn` - e.g. `func status`.
0 commit comments