Remembering back to my MSDOS days, I remember that Windows programs typically provide command-line options which begin with a "/" rather than a "-" or "--".
Would it be sensible to do the same in Tux Paint? My first thought is to have a command-line prefix string, e.g.: #ifdef WIN32 #define CMDPFX "/" #else #define CMDPFX "--" #endif And then simply use that string constant inside all of the other string constants. However, that would mean the documentation (README.[txt|html]) would be wrong, plus the program would stop working the way it used to under Windows. I guess a better way would be to support EITHER "--option" or "/option" (on all platforms, or just on Windows). In that way, we'd simply be providing a 'familiar shortcut for Windows users'. No need to always remember "oh, right, I'm using 'Tux Paint', it wants dashes, not slashes!" Not that this has EVER been commented on. I just thought of it a while back and was considering whether I should spend time DOING it. Comments? -bill! _______________________________________________ Tuxpaint-dev mailing list [EMAIL PROTECTED] http://tux4kids.net/mailman/listinfo/tuxpaint-dev
