[BACK]Return to cmd-attach-session.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-attach-session.c between version 1.2 and 1.3

version 1.2, 2009/06/05 03:13:16 version 1.3, 2009/07/13 23:11:35
Line 29 
Line 29 
 const struct cmd_entry cmd_attach_session_entry = {  const struct cmd_entry cmd_attach_session_entry = {
         "attach-session", "attach",          "attach-session", "attach",
         "[-d] " CMD_TARGET_SESSION_USAGE,          "[-d] " CMD_TARGET_SESSION_USAGE,
         CMD_DFLAG|CMD_CANTNEST|CMD_STARTSERVER,          CMD_CANTNEST|CMD_STARTSERVER, CMD_CHFLAG('d'),
         cmd_target_init,          cmd_target_init,
         cmd_target_parse,          cmd_target_parse,
         cmd_attach_session_exec,          cmd_attach_session_exec,
Line 67 
Line 67 
                 return (-1);                  return (-1);
         }          }
   
         if (data->flags & CMD_DFLAG)          if (data->chflags & CMD_CHFLAG('d'))
                 server_write_session(s, MSG_DETACH, NULL, 0);                  server_write_session(s, MSG_DETACH, NULL, 0);
         ctx->cmdclient->session = s;          ctx->cmdclient->session = s;
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3