diff --git a/pkg/cli/server/server.go b/pkg/cli/server/server.go index d1ee245d68..386af38975 100644 --- a/pkg/cli/server/server.go +++ b/pkg/cli/server/server.go @@ -348,7 +348,7 @@ func run(app *cli.Context, cfg *cmds.Server, leaderControllers server.CustomCont serverConfig.ControlConfig.Skips = map[string]bool{} if noDeploy := app.StringSlice("no-deploy"); len(noDeploy) > 0 { - logrus.Fatal("no-deploy flag is deprecated. Use --skip-deploy instead.") + logrus.Fatal("no-deploy flag is deprecated. Use --disable instead.") } serverConfig.ControlConfig.Disables = map[string]bool{} for _, disable := range app.StringSlice("disable") {