[PATCH] /join takes an optional channel argument

[PATCH] /join takes an optional channel argument

From: Klemens Nanni
---
 catgirl.1 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/catgirl.1 b/catgirl.1
index 7e39408..a453963 100644
--- a/catgirl.1
+++ b/catgirl.1
@@ -421,8 +421,11 @@ Set or clear your away status.
 Send a command to ChanServ.
 .It Ic /invite Ar nick
 Invite a user to the channel.
-.It Ic /join Ar channel Op Ar key
+.It Ic /join Op Ar channel Op Ar key
 Join a channel.
+If
+.Ar channel
+is omitted, the current window name is used.
 .It Ic /list Op Ar channel
 List channels.
 .It Ic /me Op Ar action
-- 
2.32.0

Re: [PATCH] /join takes an optional channel argument

From: june
This made me realize there’s another good default for /join: a
channel you’ve just been invited to. Updated the documentation along
with that change:

https://git.causal.agency/catgirl/commit/?id=44457f85c6fce35498cff3b58aa635e84a56d40b

Re: [PATCH] /join takes an optional channel argument

From: Klemens Nanni
To: june
On Sun, Jul 04, 2021 at 06:20:23PM -0400, june wrote:
> This made me realize there’s another good default for /join: a
> channel you’ve just been invited to. Updated the documentation along
> with that change:
> 
> https://git.causal.agency/catgirl/commit/?id=44457f85c6fce35498cff3b58aa635e84a56d40b

Sounds even better, thanks.