| Jon Stewart on Mon, 3 Jan 2005 20:47:52 -0600 (CST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: [nimh-dev] options and getopt |
> I think we have three options (heh!): > > 1. Switch to long options, e.g. '--reverse'. We can use getopt, but this > breaks compatibility with nmh. > > 2. Write our own option parser. This maintains nmh compatibility, but > keeps us using a wierd non-standard option format and makes us write > more code. > > 3. Use getopt, but check for anagrams. This would work so long as no two > distince options for the same command are anagrams of each other. (Yech!) I vote for 1. Backwards compatibility is just that: backwards. With the exception that we retain '+folder'. Jon -- Jon Stewart Advanced Los Angeles C++ stew1@xxxxxxxxxxx http://www.alacpp.org _______________________________________________ nimh-dev mailing list nimh-dev@xxxxxxxxxxx http://lists.ellipsis.cx/mailman/listinfo/nimh-dev