On this page
command.Command.target
- Module
- command
- Declared in
- Command
- Package
- libtmux
- Source
- crates/libtmux/src/command.rs
-
Return the value of the command's
-tflag, when it has one.Used to name the object in a failure. tmux does not always repeat the target it could not resolve, so this recovers it from the request.
The first
-twins, which is what tmux does: it parses flags before positionals. A positional that happens to read-tcan only be reached after tmux has already taken the flag, so the worst case is a mislabelled error rather than a wrong one.
0 declared, 0 inherited