When CLI command accept file path as option argument, it does not expand tilde(~) as home directory.
Only project directory argument is expand when launch from shell environment.
Here is an example;
--config-dir=~/another/config/path
--config-file=~/another/config/file
--resource-bundle=~/bundle/with/test
https://github.com/omegat-org/omegat/pull/236
The fix is merged as d45515c7
released 6.0