Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
fix (tatcli/topic/parameter) : number of arguments (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibautg16 authored and yesnault committed Oct 2, 2017
1 parent 2a98d47 commit ca89c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tatcli/topic/parameter.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var cmdTopicParameter = &cobra.Command{
Short: "Update param on one topic: tatcli topic param [--recursive] <topic> <maxLength> <maxReplies> <canForceDate> <canUpdateMsg> <canDeleteMsg> <canUpdateAllMsg> <canDeleteAllMsg> <adminCanUpdateAllMsg> <adminCanDeleteAllMsg> <isAutoComputeTags> <isAutoComputeLabels>",
Aliases: []string{"param"},
Run: func(cmd *cobra.Command, args []string) {
if len(args) != 11 {
if len(args) != 12 {
internal.Exit("Invalid parameter to tatcli topic param. See tatcli topic param --help\n")
}

Expand Down

0 comments on commit ca89c54

Please sign in to comment.