Skip to content

Commit

Permalink
fix: Add mandatory --sink to ping source command's name (#903)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhuss authored Jun 23, 2020
1 parent 607e366 commit 94e84d4
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_ping_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Create a ping source
Create a ping source

```
kn source ping create NAME
kn source ping create NAME --sink SINK
```

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

cmd := &cobra.Command{
Use: "create NAME",
Use: "create NAME --sink SINK",
Short: "Create a ping source",
Example: `
# Create a Ping source 'my-ping' which fires every two minutes and sends '{ value: "hello" }' to service 'mysvc' as a cloudevent
Expand Down

0 comments on commit 94e84d4

Please sign in to comment.