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

Diff for /src/usr.bin/rsync/main.c between version 1.68 and 1.69

version 1.68, 2023/04/28 10:24:38 version 1.69, 2023/11/23 11:59:53
Line 321 
Line 321 
     { "no-links",       no_argument,    &opts.preserve_links,   0 },      { "no-links",       no_argument,    &opts.preserve_links,   0 },
     { "no-motd",        no_argument,    &opts.no_motd,          1 },      { "no-motd",        no_argument,    &opts.no_motd,          1 },
     { "numeric-ids",    no_argument,    &opts.numeric_ids,      1 },      { "numeric-ids",    no_argument,    &opts.numeric_ids,      1 },
       { "omit-dir-times", no_argument,    &opts.ignore_dir_times, 1 },
     { "owner",          no_argument,    &opts.preserve_uids,    1 },      { "owner",          no_argument,    &opts.preserve_uids,    1 },
     { "no-owner",       no_argument,    &opts.preserve_uids,    0 },      { "no-owner",       no_argument,    &opts.preserve_uids,    0 },
     { "perms",          no_argument,    &opts.preserve_perms,   1 },      { "perms",          no_argument,    &opts.preserve_perms,   1 },
Line 363 
Line 364 
   
         opts.max_size = opts.min_size = -1;          opts.max_size = opts.min_size = -1;
   
         while ((c = getopt_long(argc, argv, "aDe:ghIlnoprtVvxz", lopts, &lidx))          while ((c = getopt_long(argc, argv, "aDe:ghIlnOoprtVvxz", lopts, &lidx))
             != -1) {              != -1) {
                 switch (c) {                  switch (c) {
                 case 'D':                  case 'D':
Line 395 
Line 396 
                 case 'n':                  case 'n':
                         opts.dry_run = 1;                          opts.dry_run = 1;
                         break;                          break;
                   case 'O':
                           opts.ignore_dir_times = 1;
                           break;
                 case 'o':                  case 'o':
                         opts.preserve_uids = 1;                          opts.preserve_uids = 1;
                         break;                          break;
Line 637 
Line 641 
         exit(rc);          exit(rc);
 usage:  usage:
         fprintf(stderr, "usage: %s"          fprintf(stderr, "usage: %s"
             " [-aDgIlnoprtVvx] [-e program] [--address=sourceaddr]\n"              " [-aDgIlnOoprtVvx] [-e program] [--address=sourceaddr]\n"
             "\t[--contimeout=seconds] [--compare-dest=dir] [--del] [--exclude]\n"              "\t[--contimeout=seconds] [--compare-dest=dir] [--del] [--exclude]\n"
             "\t[--exclude-from=file] [--include] [--include-from=file]\n"              "\t[--exclude-from=file] [--include] [--include-from=file]\n"
             "\t[--no-motd] [--numeric-ids] [--port=portnumber]\n"              "\t[--no-motd] [--numeric-ids] [--port=portnumber]\n"

Legend:
Removed from v.1.68  
changed lines
  Added in v.1.69