wrote help topic for env vars
This commit is contained in:
parent
f7cbf8dbe5
commit
0a17e66b4b
1 changed files with 17 additions and 2 deletions
19
src/help.rs
19
src/help.rs
|
@ -25,7 +25,10 @@ commands:
|
||||||
|
|
||||||
Use 'remux help <command>' to see detailed help text for each command."),
|
Use 'remux help <command>' to see detailed help text for each command."),
|
||||||
|
|
||||||
Some("a" | "attach")
|
|
||||||
|
// COMMAND HELP
|
||||||
|
|
||||||
|
Some("a" | "attach")
|
||||||
=>
|
=>
|
||||||
println!("remux attach
|
println!("remux attach
|
||||||
Attach to an existing session.
|
Attach to an existing session.
|
||||||
|
@ -91,7 +94,19 @@ flags:
|
||||||
-n, --nest Create the session inside another session.
|
-n, --nest Create the session inside another session.
|
||||||
-t, --target <dir> Sets the target directory for the new session."),
|
-t, --target <dir> 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())
|
_ => error::no_help(topic.unwrap())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue