Apparently the build produces a main.exe binary which will later be renamed to xapi-storage-script, and that original build artifact is run as main.exe --help=groff to produce the manpage. However, at least the default config file name appears to be derived from argv[0], as the install manpage reads:
OPTIONS
--config=VAL (absent=/etc/main.exe.conf)
Location of configuration file