fixes dav-sync -s option

Wed, 11 Jul 2018 15:46:15 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 11 Jul 2018 15:46:15 +0200
changeset 443
2f019a4bc78a
parent 442
9255f59139c6
child 444
761dc4867208

fixes dav-sync -s option

dav/sopt.c file | annotate | diff | comparison | revisions
--- a/dav/sopt.c	Tue Jul 10 19:14:05 2018 +0200
+++ b/dav/sopt.c	Wed Jul 11 15:46:15 2018 +0200
@@ -81,8 +81,9 @@
                         ucx_map_cstr_put(a->options, "verbose", NOARG);
                         break;
                     }
-                    case 's': {
-                        ucx_map_cstr_put(a->options, "syncdir", NOARG);
+                    case 's': {;
+                        option = "syncdir";
+                        optchar = 's';
                         break;
                     }
                     case 't': {

mercurial