fragglet / sdl-sopwith

Classic bi-plane shoot-'em up
https://fragglet.github.io/sdl-sopwith
GNU General Public License v2.0
66 stars 13 forks source link

Add -p argument to set the port number #18

Closed aabluedragon closed 1 year ago

aabluedragon commented 1 year ago

Support for cmd line args such as -host 23513 (port number) and -join 88.88.88.88:23513 (host:port).

fragglet commented 1 year ago

-p would make more sense than -host - all existing arguments are single character, and it would match eg. the arguments to netcat.

There's no need to add a new -join argument; -j can be extended. Actually the manpage says it's already supported?

aabluedragon commented 1 year ago

Right, I see it now - https://fragglet.github.io/sdl-sopwith/doc/sopwith.6.html My bad, somehow I missed this page. Thanks, you can close the issue I guess.

fragglet commented 1 year ago

No, it's still worth keeping the issue so that we can add the ability to change the port servers run on (-p)

aabluedragon commented 1 year ago

a -p portnum argument would be useful.