Hi,
I've gotten -g working for kill-session, but there are more kinks with adding -g to rename-session (it works, but I'm not happy with it. I feel there is more to do before it is ready for feedback). I've attached a patch for cmd-kill-session.c below.
I'm not super stoked about the updated usage or the error message for kill-session. I decided to implement it so -g with -t is an error, but I'm not sure how to indicate "either or" in the usage, or how to to tell the user they cannot use both. I'd love opinions on that, as well as anything else!