Skip to content

[Bug] Hyphenated hostnames passed via CLI are truncated because hyphen parts are treated as arguments #415

Description

@donsauk

When launching open.mp Launcher through the command-line, hostnames containing hyphens appear to be parsed incorrectly after being passed to the game/client.
Example hostname:
s2.gta-mp.cz
When launched with -h s2.gta-mp.cz -p 7777, the game appears to receive or display only:
s2.gta:7777
It looks like the -mp part of the hostname may be getting interpreted as another command-line argument somewhere after.
Tested on CachyOS with Proton, but this is most likely present in Windows versions too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions