Add agent wrong documentation

./elastic-agent install -f --kibana-url=xxxx --enrollment-token=xxxxx

is not working
unknown flag: --kibana-url

I would check the documentation page you are using, and that you are running the latest version of Kibana.

The --kibana-url was renamed to --url, for the transition to the new Flet Server architecture.

This command was stated in the add new agent tutorial.
Thanks for the quick answer.