Skip to content

Commit

Permalink
Revert "fix example usage for enable/disable semantic versioning cmds"
Browse files Browse the repository at this point in the history
This reverts commit 4352e21.
  • Loading branch information
pandemicsyn committed Jan 21, 2025
1 parent 4352e21 commit de5762d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions cli/cmd/channel_disable_semantic_versioning.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ func (r *runners) InitChannelDisableSemanticVersioning(parent *cobra.Command) {
cmd := &cobra.Command{
Use: "disable-semantic-versioning CHANNEL_ID",
Short: "Disable semantic versioning for CHANNEL_ID",
Long: "Disable semantic versioning for the CHANNEL_ID.",
Example: ` # Disable semantic versioning for a channel
replicated channel disable-semantic-versioning CHANNEL_ID`,
Long: `Disable semantic versioning for the CHANNEL_ID.
Example:
replicated channel disable-semantic-versioning CHANNEL_ID`,
}
parent.AddCommand(cmd)
cmd.RunE = r.channelDisableSemanticVersioning
Expand Down
7 changes: 4 additions & 3 deletions cli/cmd/channel_enable_semantic_versioning.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ func (r *runners) InitChannelEnableSemanticVersioning(parent *cobra.Command) {
cmd := &cobra.Command{
Use: "enable-semantic-versioning CHANNEL_ID",
Short: "Enable semantic versioning for CHANNEL_ID",
Long: "Enable semantic versioning for the CHANNEL_ID",
Example: ` # Enable semantic versioning for a channel
replicated channel enable-semantic-versioning CHANNEL_ID`,
Long: `Enable semantic versioning for the CHANNEL_ID.
Example:
replicated channel enable-semantic-versioning CHANNEL_ID`,
}
parent.AddCommand(cmd)
cmd.RunE = r.channelEnableSemanticVersioning
Expand Down

0 comments on commit de5762d

Please sign in to comment.