Skip to content

Commit

Permalink
deprecate setup cmd.
Browse files Browse the repository at this point in the history
  • Loading branch information
simitt committed Jul 16, 2018
1 parent 01e0886 commit f4875ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ var RootCmd *cmd.BeatsRootCmd
func init() {
var runFlags = pflag.NewFlagSet(Name, pflag.ExitOnError)
RootCmd = cmd.GenRootCmdWithIndexPrefixWithRunFlags(Name, IdxPattern, "", beater.New, runFlags)
RootCmd.RunCmd.Flags().MarkDeprecated("setup", "use Kibana UI for initial setup.")
RootCmd.SetupCmd.Deprecated = "use Kibana UI for initial setup."
}

0 comments on commit f4875ed

Please sign in to comment.