diff --git a/docs/cmd/kn_channel_create.md b/docs/cmd/kn_channel_create.md index c709efe7be..f22febe4f7 100644 --- a/docs/cmd/kn_channel_create.md +++ b/docs/cmd/kn_channel_create.md @@ -17,8 +17,8 @@ kn channel create NAME # Create a channel 'pipe' with default setting for channel configuration kn channel create pipe - # Create a channel 'imc1' of type InMemoryChannel using inbuilt alias 'imc' - kn channel create imc1 --type imc + # Create a channel 'imc1' of type InMemoryChannel using inbuilt alias 'imcv1beta1' + kn channel create imc1 --type imcv1beta1 # same as above without using inbuilt alias but providing explicit GVK kn channel create imc1 --type messaging.knative.dev:v1beta1:InMemoryChannel diff --git a/pkg/kn/commands/channel/create.go b/pkg/kn/commands/channel/create.go index 145c9b8f4c..8f5e2251e6 100644 --- a/pkg/kn/commands/channel/create.go +++ b/pkg/kn/commands/channel/create.go @@ -36,8 +36,8 @@ func NewChannelCreateCommand(p *commands.KnParams) *cobra.Command { # Create a channel 'pipe' with default setting for channel configuration kn channel create pipe - # Create a channel 'imc1' of type InMemoryChannel using inbuilt alias 'imc' - kn channel create imc1 --type imc + # Create a channel 'imc1' of type InMemoryChannel using inbuilt alias 'imcv1beta1' + kn channel create imc1 --type imcv1beta1 # same as above without using inbuilt alias but providing explicit GVK kn channel create imc1 --type messaging.knative.dev:v1beta1:InMemoryChannel