> I don't think you need to modify getopt, the commands just need to handle a
> variable number of args but I don't remember specifics of what needs to
> change.

I still don't see how I can get "--" passed to neww.  For example,
this works fine in tmux 1.8:

tmux neww -- emacs


There's no code in cmd_new_window_exec to handle "--", and since neww
can only take 1 arg, getopt must be consuming it.  You'd have to do
"tmux neww -- -- emacs" to get the "--" there, which seems ugly.

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to