Use the SRCDST define for usage.

This commit is contained in:
nicm 2015-06-18 23:56:01 +00:00
parent b43b13faf9
commit f557c7d8ca

View File

@ -36,7 +36,7 @@ enum cmd_retval join_pane(struct cmd *, struct cmd_q *, int);
const struct cmd_entry cmd_join_pane_entry = { const struct cmd_entry cmd_join_pane_entry = {
"join-pane", "joinp", "join-pane", "joinp",
"bdhvp:l:s:t:", 0, 0, "bdhvp:l:s:t:", 0, 0,
"[-bdhv] [-p percentage|-l size] [-s src-pane] [-t dst-pane]", "[-bdhv] [-p percentage|-l size] " CMD_SRCDST_PANE_USAGE,
0, 0,
cmd_join_pane_exec cmd_join_pane_exec
}; };
@ -44,7 +44,7 @@ const struct cmd_entry cmd_join_pane_entry = {
const struct cmd_entry cmd_move_pane_entry = { const struct cmd_entry cmd_move_pane_entry = {
"move-pane", "movep", "move-pane", "movep",
"bdhvp:l:s:t:", 0, 0, "bdhvp:l:s:t:", 0, 0,
"[-bdhv] [-p percentage|-l size] [-s src-pane] [-t dst-pane]", "[-bdhv] [-p percentage|-l size] " CMD_SRCDST_PANE_USAGE,
0, 0,
cmd_join_pane_exec cmd_join_pane_exec
}; };