dav/sopt.c

changeset 444
761dc4867208
parent 443
2f019a4bc78a
child 445
c525f049c8b7
equal deleted inserted replaced
443:2f019a4bc78a 444:761dc4867208
79 } 79 }
80 case 'v': { 80 case 'v': {
81 ucx_map_cstr_put(a->options, "verbose", NOARG); 81 ucx_map_cstr_put(a->options, "verbose", NOARG);
82 break; 82 break;
83 } 83 }
84 case 's': {; 84 case 's': {
85 option = "syncdir"; 85 option = "syncdir";
86 optchar = 's'; 86 optchar = 's';
87 break; 87 break;
88 } 88 }
89 case 't': { 89 case 't': {
90 option = "tags"; 90 option = "tags";
91 optchar = 't'; 91 optchar = 't';
92 break;
93 }
94 case 'D': {
95 ucx_map_cstr_put(a->options, "restore-deleted", NOARG);
96 break;
97 }
98 case 'M': {
99 ucx_map_cstr_put(a->options, "restore-modified", NOARG);
92 break; 100 break;
93 } 101 }
94 } 102 }
95 } 103 }
96 } else if(option) { 104 } else if(option) {

mercurial