After starting up ejabberd 20.12 in Docker, the logs tell me I should run ejabberdctl dump-config to get the current running configuration.
2021-01-15 01:32:21.039034+00:00 [warning] Listening option 'certfile' of module ejabberd_c2s is deprecated and was automatically appended to global 'certfiles' option. Please adjust your configuration file accordingly. Hint: run `ejabberdctl dump-config` command to view current configuration as it is seen by ejabberd.
When I run it docker exec -it ejabberd bin/ejabberdctl dump-config
it tells me I need 1 more argument...
Error: the command "dump-config" requires 1 more argument.
Time to check the documentation... Wait a minute, it's impossible to find any information online that mentions ejabberdctl dump-config. There is some API info about dump_config but I'm not sure how that translates to the CLI.
I tried to guess what the extra argument was by specifying an output file, but nothing gets written to the file. Is it just me or is the ejabberd documentation lacking?