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

Diff for /src/usr.bin/tmux/cmd-new-session.c between version 1.143 and 1.144

version 1.143, 2021/08/21 10:28:05 version 1.144, 2021/08/27 17:25:55
Line 42 
Line 42 
         .args = { "Ac:dDe:EF:f:n:Ps:t:x:Xy:", 0, -1, NULL },          .args = { "Ac:dDe:EF:f:n:Ps:t:x:Xy:", 0, -1, NULL },
         .usage = "[-AdDEPX] [-c start-directory] [-e environment] [-F format] "          .usage = "[-AdDEPX] [-c start-directory] [-e environment] [-F format] "
                  "[-f flags] [-n window-name] [-s session-name] "                   "[-f flags] [-n window-name] [-s session-name] "
                  CMD_TARGET_SESSION_USAGE " [-x width] [-y height] [command]",                   CMD_TARGET_SESSION_USAGE " [-x width] [-y height] "
                    "[shell-command]",
   
         .target = { 't', CMD_FIND_SESSION, CMD_FIND_CANFAIL },          .target = { 't', CMD_FIND_SESSION, CMD_FIND_CANFAIL },
   
Line 283 
Line 284 
                 sc.tc = c;                  sc.tc = c;
   
         sc.name = args_get(args, 'n');          sc.name = args_get(args, 'n');
         args_vector(args, &sc.argc, &sc.argv);          args_to_vector(args, &sc.argc, &sc.argv);
   
         sc.idx = -1;          sc.idx = -1;
         sc.cwd = args_get(args, 'c');          sc.cwd = args_get(args, 'c');

Legend:
Removed from v.1.143  
changed lines
  Added in v.1.144