'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
|
||||
tmux h -t foo
|
||||
remux has foo
|
||||
remux h foo
|
||||
|
||||
# detach
|
||||
tmux det -t foo
|
||||
|
|
|
@ -62,12 +62,13 @@ usage: remux detach <session>
|
|||
args:
|
||||
<session> The session name to detach clients from"),
|
||||
|
||||
Some("has")
|
||||
Some("h" | "has")
|
||||
=>
|
||||
println!("remux has
|
||||
Check if the target session exists.
|
||||
|
||||
usage: remux has [flags] <session>
|
||||
rmux h [flags] session
|
||||
|
||||
args:
|
||||
<session> The session to check for
|
||||
|
|
|
@ -41,7 +41,7 @@ fn main() {
|
|||
|
||||
// invoke subcommand function
|
||||
match subcommand.as_deref() {
|
||||
Some("h" | "help")
|
||||
Some("help")
|
||||
=> help(&mut args),
|
||||
|
||||
Some("a" | "attach")
|
||||
|
@ -50,7 +50,7 @@ fn main() {
|
|||
Some("d" | "detach")
|
||||
=> command::share::detach(&mut args),
|
||||
|
||||
Some("has")
|
||||
Some("h" | "has")
|
||||
=> command::share::has(&mut args),
|
||||
|
||||
None |
|
||||
|
|
Loading…
Reference in a new issue