Skip to content

Commit

Permalink
fix: add deprecation node in --endpoint for tracetest start (#3637)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathnogueira committed Feb 13, 2024
1 parent 7892f7b commit 2d99c76
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cli/cmd/start_cmd.go
Expand Up @@ -60,6 +60,10 @@ func init() {
startCmd.Flags().StringVarP(&saveParams.endpoint, "endpoint", "e", defaultEndpoint, "set the value for the endpoint, so the CLI won't ask for this value")
startCmd.Flags().StringVarP(&saveParams.mode, "mode", "m", "desktop", "set how the agent will start")
startCmd.Flags().StringVarP(&saveParams.logLevel, "log-level", "l", "debug", "set the agent log level")

startCmd.Flags().MarkDeprecated("endpoint", "use --server-url instead")
startCmd.Flags().MarkShorthandDeprecated("e", "use --server-url instead")

rootCmd.AddCommand(startCmd)
}

Expand Down

0 comments on commit 2d99c76

Please sign in to comment.