From 0a17e66b4b98c0170bcd1e86cf9ced4423578c78 Mon Sep 17 00:00:00 2001 From: Valerie Date: Thu, 14 Mar 2024 14:24:07 -0400 Subject: [PATCH] wrote help topic for env vars --- src/help.rs | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/help.rs b/src/help.rs index 0e7b14c..3c24a7e 100644 --- a/src/help.rs +++ b/src/help.rs @@ -25,7 +25,10 @@ commands: Use 'remux help ' to see detailed help text for each command."), - Some("a" | "attach") + +// COMMAND HELP + + Some("a" | "attach") => println!("remux attach Attach to an existing session. @@ -91,7 +94,19 @@ flags: -n, --nest Create the session inside another session. -t, --target Sets the target directory for the new session."), - // not found + +// TOPIC HELP + + Some("env" | "vars") + => +println!("remux environment variables + +REMUX_ATTACH_SYMBOL + Changes the symbol displayed for attached sessions displayed + by the 'list' command. + Default: '*'"), + +// not found _ => error::no_help(topic.unwrap()) } }