Skip to content

Commit

Permalink
Update sink binding create usage string (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
navidshaikh authored Apr 7, 2020
1 parent d1eb9bc commit e88ee59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/cmd/kn_source_binding_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Create a sink binding.
Create a sink binding.

```
kn source binding create NAME --subject SCHEDULE --sink SINK --ce-override KEY=VALUE [flags]
kn source binding create NAME --subject SUBJECT --sink SINK --ce-override KEY=VALUE [flags]
```

### Examples
Expand Down
2 changes: 1 addition & 1 deletion pkg/kn/commands/source/binding/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func NewBindingCreateCommand(p *commands.KnParams) *cobra.Command {
var sinkFlags flags.SinkFlags

cmd := &cobra.Command{
Use: "create NAME --subject SCHEDULE --sink SINK --ce-override KEY=VALUE",
Use: "create NAME --subject SUBJECT --sink SINK --ce-override KEY=VALUE",
Short: "Create a sink binding.",
Example: `
# Create a sink binding which connects a deployment 'myapp' with a Knative service 'mysvc'
Expand Down

0 comments on commit e88ee59

Please sign in to comment.