[BACK]Return to scp.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/scp.c between version 1.198 and 1.199

version 1.198, 2018/11/16 03:03:10 version 1.199, 2019/01/21 22:50:42
Line 402 
Line 402 
         addargs(&args, "-oRequestTTY=no");          addargs(&args, "-oRequestTTY=no");
   
         fflag = tflag = 0;          fflag = tflag = 0;
         while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q12346S:o:F:")) != -1)          while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q12346S:o:F:J:")) != -1)
                 switch (ch) {                  switch (ch) {
                 /* User-visible flags. */                  /* User-visible flags. */
                 case '1':                  case '1':
Line 424 
Line 424 
                 case 'c':                  case 'c':
                 case 'i':                  case 'i':
                 case 'F':                  case 'F':
                   case 'J':
                         addargs(&remote_remote_args, "-%c", ch);                          addargs(&remote_remote_args, "-%c", ch);
                         addargs(&remote_remote_args, "%s", optarg);                          addargs(&remote_remote_args, "%s", optarg);
                         addargs(&args, "-%c", ch);                          addargs(&args, "-%c", ch);
Line 1286 
Line 1287 
 {  {
         (void) fprintf(stderr,          (void) fprintf(stderr,
             "usage: scp [-346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]\n"              "usage: scp [-346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]\n"
             "           [-l limit] [-o ssh_option] [-P port] [-S program] source ... target\n");              "            [-J destination] [-l limit] [-o ssh_option] [-P port]\n"
               "            [-S program] source ... target\n");
         exit(1);          exit(1);
 }  }
   

Legend:
Removed from v.1.198  
changed lines
  Added in v.1.199