Note: help and version output are generated by a naïve script which tries a few variants of
<command> --help, <command> -h etc. to find the command's help and version info.
Sometimes it gets lucky, sometimes it doesn't; if the output below looks wrong, it probably is.
xdg-user-dir --version (return code: 0)
-version_DIR:-/home/ubuntu
xdg-user-dir --help (return code: 0)
-help_DIR:-/home/ubuntu