diff --git a/mixer/cmd/repos.go b/mixer/cmd/repos.go index 15c81aa..17fd85d 100644 --- a/mixer/cmd/repos.go +++ b/mixer/cmd/repos.go @@ -83,7 +83,7 @@ func init() { func runAddRepo(cmd *cobra.Command, args []string) { if len(args) != 2 { - fail(errors.New("add requires 2 arguments: ")) + fail(errors.New("add requires exactly two arguments: ")) } b, err := builder.NewFromConfig(config) if err != nil { @@ -99,7 +99,7 @@ func runAddRepo(cmd *cobra.Command, args []string) { func runRemoveRepo(cmd *cobra.Command, args []string) { if len(args) != 1 { - fail(errors.New("remove requires one argument: ")) + fail(errors.New("remove requires exactly one argument: ")) } b, err := builder.NewFromConfig(config) if err != nil { @@ -139,7 +139,7 @@ func runInitRepo(cmd *cobra.Command, args []string) { func runSetURLRepo(cmd *cobra.Command, args []string) { if len(args) != 2 { - fail(errors.New("set-url requires two arguments: ")) + fail(errors.New("set-url requires exactly two arguments: ")) } b, err := builder.NewFromConfig(config)