dav/main.c

changeset 380
8a0c727aa409
parent 376
222997d48ae1
child 382
1ce7211a1021
--- a/dav/main.c	Sun May 27 19:45:28 2018 +0200
+++ b/dav/main.c	Tue May 29 20:15:09 2018 +0200
@@ -197,6 +197,9 @@
 }
 
 void print_usage(char *cmd) {
+    fprintf(stderr, "Usage: %s command [options] arguments...\n\n", cmd);
+    
+    fprintf(stderr, "Commands:\n");
     for(int i=0;;i++) {
         char *str = cmdusageinfo[i];
         if(!str) {
@@ -226,7 +229,6 @@
     fprintf(stderr, "        -d         order by last modified date\n");
     fprintf(stderr, "        -e         show extended flags\n");
     fprintf(stderr, "        -O         override resources\n");
-    fprintf(stderr, "        -A         tar import/export\n");
     fprintf(stderr, "        -L <lock>  specificy lock token\n");
     fprintf(stderr, "        -T <sec>   timeout in seconds\n");
     fprintf(stderr, "        -n <uri>   specify namespace uri\n");

mercurial