First, I did add a custom target by running firebase target:apply demo my-project. However, when running firebase emulators:start --only hosting:demo I receive the following error message:
Error: hosting:demo is not a valid emulator name, valid options are: ["auth","functions","firestore","database","hosting","pubsub"]
As per documentation (https://firebase.google.com/docs/hosting/multisites?authuser=0#cli-commands-with-deploy-targets) firebase emulators:start --only hosting:TARGET_NAME should emulate the Hosting content and configuration of the specified Hosting site at a locally hosted URL.
This issue does not seem to follow the issue template. Make sure you provide all the required information.
@motiejunas thanks for reporting this, seems like a bug in the argument parser!