If you run upstream_sync with --command it shows the command but the actual code will check if a comps.xml file exists and if it does it will append -g /repo/path/comps.xml
The file should be checked for even when only viewing the reposync and createrepo command.