fixes dav-sync -s option v1.2

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

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 11 Jul 2018 15:46:15 +0200
branch
v1.2
changeset 452
e48af5bfb637
parent 451
3e77615273d3
child 453
68a786fa4695

fixes dav-sync -s option

dav/sopt.c file | annotate | diff | comparison | revisions
--- a/dav/sopt.c	Tue Jul 10 18:42:52 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