'h' is now shortened version of 'has' instead of help
This commit is contained in:
parent
18dd30f101
commit
80a5c0a968
3 changed files with 5 additions and 4 deletions
|
@ -31,7 +31,7 @@ remux a foo
|
||||||
|
|
||||||
# has
|
# has
|
||||||
tmux h -t foo
|
tmux h -t foo
|
||||||
remux has foo
|
remux h foo
|
||||||
|
|
||||||
# detach
|
# detach
|
||||||
tmux det -t foo
|
tmux det -t foo
|
||||||
|
|
|
@ -62,12 +62,13 @@ usage: remux detach <session>
|
||||||
args:
|
args:
|
||||||
<session> The session name to detach clients from"),
|
<session> The session name to detach clients from"),
|
||||||
|
|
||||||
Some("has")
|
Some("h" | "has")
|
||||||
=>
|
=>
|
||||||
println!("remux has
|
println!("remux has
|
||||||
Check if the target session exists.
|
Check if the target session exists.
|
||||||
|
|
||||||
usage: remux has [flags] <session>
|
usage: remux has [flags] <session>
|
||||||
|
rmux h [flags] session
|
||||||
|
|
||||||
args:
|
args:
|
||||||
<session> The session to check for
|
<session> The session to check for
|
||||||
|
|
|
@ -41,7 +41,7 @@ fn main() {
|
||||||
|
|
||||||
// invoke subcommand function
|
// invoke subcommand function
|
||||||
match subcommand.as_deref() {
|
match subcommand.as_deref() {
|
||||||
Some("h" | "help")
|
Some("help")
|
||||||
=> help(&mut args),
|
=> help(&mut args),
|
||||||
|
|
||||||
Some("a" | "attach")
|
Some("a" | "attach")
|
||||||
|
@ -50,7 +50,7 @@ fn main() {
|
||||||
Some("d" | "detach")
|
Some("d" | "detach")
|
||||||
=> command::share::detach(&mut args),
|
=> command::share::detach(&mut args),
|
||||||
|
|
||||||
Some("has")
|
Some("h" | "has")
|
||||||
=> command::share::has(&mut args),
|
=> command::share::has(&mut args),
|
||||||
|
|
||||||
None |
|
None |
|
||||||
|
|
Loading…
Reference in a new issue