# HG changeset patch # User Olaf Wintermann # Date 1527619102 -7200 # Node ID 17ccf828a2f21cae7e30c4a099bfda9cb41e1fa8 # Parent 8a0c727aa4092d8d4a19d0883c590f6a2ee74f6d fixes dav-sync set-tags without tag string diff -r 8a0c727aa409 -r 17ccf828a2f2 dav/sync.c --- a/dav/sync.c Tue May 29 20:15:09 2018 +0200 +++ b/dav/sync.c Tue May 29 20:38:22 2018 +0200 @@ -2297,6 +2297,11 @@ tags = parse_csv_taglist(tags_str, strlen(tags_str)); store_tags = TRUE; // TODO: read from stdin if tags_str is "-" + } else if (args->argc == 1) { + store_tags = TRUE; + } else { + fprintf(stderr, "Too many arguments\n"); + ret = -1; } }