Did you type
transmission-remote
or
transmission-remote-cli
? Only the second one is correct.
Otherwise I don’t get why it can tell you that it’s an illegal parameter but when you enter it without then the command isn’t available. You can always try
man transmission-remote-cli
or
transmission-remote-cli --help
transmission-remote-cli -help
transmission-remote-cli /help