[PATCH] mismatch between the usage and the implementation in the save-buffer command

2012-03-21 Thread Kazuhiko Sakaguchi
Hi I found out the mismatch in the save-buffer command. The usage is following. $ tmux list-command | grep save-buffer save-buffer [-a] [-b buffer-index] But "tmux save-buffer" outputs the usage, and returns 1. $ tmux save-buffer usage: save-buffer [-a] [-b buffer-index] $ echo $? 1 It looks

Re: [PATCH] Add -n argument to show-environment to specify a variable name

2012-03-21 Thread Kazuhiko Sakaguchi
Hi Thanks! The attached patch fixed the bug. 2012/3/17 Nicholas Marriott : > Hi > > I think that when you print a single option you need to check > envent->value is not NULL (meaning the variable is removed from > environment), same as inside the loop. > > Also this patch doesn't apply, I guess