mirror of https://github.com/knative/client.git
remove unnecessary help message (#1158)
This commit is contained in:
parent
dfbd81e2f3
commit
3990a45591
|
|
@ -17,6 +17,10 @@
|
||||||
|===
|
|===
|
||||||
| | Description | PR
|
| | Description | PR
|
||||||
|
|
||||||
|
| 🐣
|
||||||
|
| Removes unnecessary help message introduced for machine-readable outputs for command 'kn source binding describe'
|
||||||
|
| https://github.com/knative/client/pull/1158[#1158]
|
||||||
|
|
||||||
| 🐣
|
| 🐣
|
||||||
| Removes unnecessary help message introduced for machine-readable outputs for commands which does not have -o url flag
|
| Removes unnecessary help message introduced for machine-readable outputs for commands which does not have -o url flag
|
||||||
| https://github.com/knative/client/pull/1152[#1152]
|
| https://github.com/knative/client/pull/1152[#1152]
|
||||||
|
|
@ -33,7 +37,7 @@
|
||||||
| Add machine readable output (-o flag) to kn source binding describe
|
| Add machine readable output (-o flag) to kn source binding describe
|
||||||
| https://github.com/knative/client/pull/1148[#1148]
|
| https://github.com/knative/client/pull/1148[#1148]
|
||||||
|
|
||||||
| 🐛
|
| 🎁
|
||||||
| Add machine readable output (-o flag) to kn source apiserver describe
|
| Add machine readable output (-o flag) to kn source apiserver describe
|
||||||
| https://github.com/knative/client/pull/1146[#1146]
|
| https://github.com/knative/client/pull/1146[#1146]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"sort"
|
"sort"
|
||||||
"strings"
|
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"k8s.io/cli-runtime/pkg/genericclioptions"
|
"k8s.io/cli-runtime/pkg/genericclioptions"
|
||||||
|
|
@ -99,7 +98,6 @@ func NewBindingDescribeCommand(p *commands.KnParams) *cobra.Command {
|
||||||
commands.AddNamespaceFlags(flags, false)
|
commands.AddNamespaceFlags(flags, false)
|
||||||
flags.BoolP("verbose", "v", false, "More output.")
|
flags.BoolP("verbose", "v", false, "More output.")
|
||||||
machineReadablePrintFlags.AddFlags(command)
|
machineReadablePrintFlags.AddFlags(command)
|
||||||
command.Flag("output").Usage = fmt.Sprintf("Output format. One of: %s.", strings.Join(machineReadablePrintFlags.AllowedFormats(), "|"))
|
|
||||||
return command
|
return command
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue