From 4615777cae3baa37bd92ab78e87dd6336b39f5ad Mon Sep 17 00:00:00 2001 From: Valerie Date: Fri, 8 Mar 2024 10:23:02 -0500 Subject: [PATCH] added help topic for switch --- src/help.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/help.rs b/src/help.rs index 0e7b14c..1c78b45 100644 --- a/src/help.rs +++ b/src/help.rs @@ -91,6 +91,21 @@ flags: -n, --nest Create the session inside another session. -t, --target Sets the target directory for the new session."), + Some("s" | "switch") + => +println!("remux switch +Switch to a different tmux session. +Must be run from inside a session. + +usage: remux switch [flags] + remux s [flags] <title> + +args: + <title> The title of the session to switch to. + +flags: + -r, --read-only Attach the target session as read-only."), + // not found _ => error::no_help(topic.unwrap()) }