Tue, 29 May 2018 20:38:22 +0200
fixes dav-sync set-tags without tag string
dav/sync.c | file | annotate | diff | comparison | revisions |
--- 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; } }