macro_rules! detach_client {
    (@cmd ($cmd:expr) -a, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr) -P, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr) -E $shell_command:expr, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr) -s $target_session:expr, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr) -t $target_client:expr, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr)) => { ... };
    () => { ... };
    (($cmd:expr), $($tail:tt)*) => { ... };
    ($($tail:tt)*) => { ... };
}
Expand description

§Manual

tmux ^2.4:

detach-client [-aP] [-E shell-command] [-s target-session] [-t target-client]
(alias: detach)

tmux ^2.2:

detach-client [-aP] [-s target-session] [-t target-client]
(alias: detach)

tmux ^1.5:

detach-client [-P] [-s target-session] [-t target-client]
(alias: detach)

tmux ^0.8:

detach-client [-t target-client]
(alias: detach)