MySQL Shell complains about Unknown Option

The MySQL Shell program complained about an unknown option, even when none were provided when I started it.

$ mysqlsh
While processing defaults options:
mysqlsh: unknown option --default-character-set

In order to fix this, I simply added the wrongly interpreted option to my defaults file



and started the util with the flag for reading a config file like this mysqlsh --defaults-file=~/.my.cnf root@