Webdriver agent port and boot strap port

I’m getting the below error after migrating to 2.0. if the command is deprecated or is it changed, any reference inputs will be helpful

 Error:The local appium server has not been started. The given Node.js executable: /opt/homebrew/bin/node Arguments: [/opt/homebrew/lib/node_modules/appium/build/lib/main.js, --port, 15778, --address,, --log, /Users/prajwal/Desktop/TestVagrant/ekam repos/ekam-examples/build/ekam-execution-timeline/LoginTests/loginWithValidCredentials/logs/appium.log, --bootstrap-port, 62289, --session-override, --webdriveragent-port, 62290] 
Process output: 
[ERROR] Unrecognized arguments: --bootstrap-port 62289 --webdriveragent-port 62290

I’m able to resolve--webdriveragent-port by changing the command to appium server --driver-uiautomator-webdriveragent-port 8104 but the --bootstrap-port is still an issue