Github user NicoK commented on the issue: https://github.com/apache/flink/pull/5672 I reworked the code as desired, i.e. adding `-yd` and `--yarndetached` as deprecated parameters to `CliFrontendParser` and adapting `ProgramOptions` and `FlinkYarnSessionCli` accordingly.
---