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

Diff for /src/usr.bin/tmux/cmd-split-window.c between version 1.27 and 1.28

version 1.27, 2012/01/20 19:54:07 version 1.28, 2012/01/31 15:52:21
Line 33 
Line 33 
   
 const struct cmd_entry cmd_split_window_entry = {  const struct cmd_entry cmd_split_window_entry = {
         "split-window", "splitw",          "split-window", "splitw",
         "dl:hp:Pt:v", 0, 1,          "c:dl:hp:Pt:v", 0, 1,
         "[-dhvP] [-p percentage|-l size] [-t target-pane] [command]",          "[-dhvP] [-c start-directory] [-p percentage|-l size] [-t target-pane] "
           "[command]",
         0,          0,
         cmd_split_window_key_binding,          cmd_split_window_key_binding,
         NULL,          NULL,
Line 78 
Line 79 
                 cmd = options_get_string(&s->options, "default-command");                  cmd = options_get_string(&s->options, "default-command");
         else          else
                 cmd = args->argv[0];                  cmd = args->argv[0];
         cwd = cmd_get_default_path(ctx);          cwd = cmd_get_default_path(ctx, args_get(args, 'c'));
   
         type = LAYOUT_TOPBOTTOM;          type = LAYOUT_TOPBOTTOM;
         if (args_has(args, 'h'))          if (args_has(args, 'h'))

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28