On Sun, Oct 14, 2007 at 09:18:55AM +0000, Eric Wong wrote:Yes, but if you do that, you can't order options in the order you want (because of first match issues), making the help dumps hopelessly random. I prefer exact match, especially since your shell can help you autocomplete the proper command. I intend to have some magic in the parse_options module to dump the options in a machine parseable way, so that zsh/bash completion for the parseopt aware commands is almost trivial. (this was requested from one of the zsh upstream developpers, and it definitely make sense). Note that I didn't migrated all the commands yet especially not diff.c, We'll need a new construct for that: embedding a struct options array into another to inherit its flags, though I'm not sure it's enough, as a struct options right now embeds pointers to the variables it fills, which doesn't work with the "pure" `diff_opt_parse` approach right now. But I'm sure I'll come up with something :) --=20 =C2=B7O=C2=B7 Pierre Habouzit =C2=B7=C2=B7O madcoder@debia= n.org OOO http://www.madism.org
| Al Boldi | [RFD] Incremental fsck |
| Andi Kleen | kgdb in git-x86#mm review |
| Arnd Hannemann | 2.6.24-rc8 hangs at mfgpt-timer |
| David Miller | Re: [11/14] vcompound: Fallbacks for order 1 stack allocations on IA64 and x86 |
git: | |
| drew | Re: SVGA-alphanum. modes |
| Raymond Nijssen | Re: What the 17" monitor reviews never tell you |
| Paul Richards | Header files |
| Joseph R. Pannon | More install questions |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Eric Dumazet | Re: [PATCH 3/3] Convert the UDP hash lock to RCU |
