spoutn1k / mcmap

Pixel-art map visualizer for Minecraft. Maps are drawn from an isometric perspective.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve command line parsing with getopt.h

rpesche opened this issue · comments

Hello !

First of all, i'm new on github, so i don't know if i use the best method to tell you that.

I have been read the code, and the command line parsing seems very complex and hardly maintenable.
I think we can use getopt to improve this system.
I can work about, but is it useful ?

commented

Sorry for the late reply.
The code in general isn't very pretty anymore, so I don't know if it's worth the hassle :-) But as long as getopt is available with MinGW, which I assume it is, I have nothing against it. It should stay compatible to the current format however, so an update doesn't break everyones scripts.