add -s option to dav-sync usage output

Fri, 06 Dec 2019 09:24:45 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 06 Dec 2019 09:24:45 +0100
changeset 693
8ca795c1ae1c
parent 692
56b66fe2b4f5
child 694
60edf3d679fd

add -s option to dav-sync usage output

dav/sync.c file | annotate | diff | comparison | revisions
dav/version.h file | annotate | diff | comparison | revisions
--- a/dav/sync.c	Thu Dec 05 12:37:48 2019 +0100
+++ b/dav/sync.c	Fri Dec 06 09:24:45 2019 +0100
@@ -288,18 +288,19 @@
     fprintf(stderr, "        list-tags [-s <syncdir>] <file>\n\n");
     
     fprintf(stderr, "Options:\n");
-    fprintf(stderr, "        -c         Disable conflict detection\n");
-    fprintf(stderr, "        -l         Lock the repository before access\n");
-    fprintf(stderr, "        -d         Don't lock the repository\n");
-    fprintf(stderr, "        -t <tags>  "
+    fprintf(stderr, "        -c            Disable conflict detection\n");
+    fprintf(stderr, "        -l            Lock the repository before access\n");
+    fprintf(stderr, "        -d            Don't lock the repository\n");
+    fprintf(stderr, "        -t <tags>     "
                     "Only sync files which have the specified tags\n");
-    fprintf(stderr, "        -r         "
+    fprintf(stderr, "        -r            "
                     "Remove resources not matching the tag filter\n");
-    fprintf(stderr, "        -V <vers>  Restore specific version\n");
-    fprintf(stderr, "        -S         Save previous file version\n");
-    fprintf(stderr, "        -R         Restore removed files\n");
-    fprintf(stderr, "        -M         Restore modified files\n");
-    fprintf(stderr, "        -v         Verbose output (all commands)\n\n");
+    fprintf(stderr, "        -V <vers>     Restore specific version\n");
+    fprintf(stderr, "        -S            Save previous file version\n");
+    fprintf(stderr, "        -R            Restore removed files\n");
+    fprintf(stderr, "        -M            Restore modified files\n");
+    fprintf(stderr, "        -s <syncdir>  Name of the syncdir the file is in\n");
+    fprintf(stderr, "        -v            Verbose output (all commands)\n\n");
     
     fprintf(stderr, "Config commands:\n");
     fprintf(stderr, "        add-directory\n");
--- a/dav/version.h	Thu Dec 05 12:37:48 2019 +0100
+++ b/dav/version.h	Fri Dec 06 09:24:45 2019 +0100
@@ -27,6 +27,6 @@
  */
 
 #ifndef DAV_VERSION
-#define DAV_VERSION "1.3 beta2"
+#define DAV_VERSION "1.3 RC1"
 #endif
 

mercurial