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
Apparently the build produces a
main.exebinary which will later be renamed toxapi-storage-script, and that original build artifact is run asmain.exe --help=groffto produce the manpage. However, at least the default config file name appears to be derived fromargv[0], as the install manpage reads: