dav/optparser.c

changeset 14
d1a43035d3a2
parent 11
5db6178d8b58
child 18
651989681053
--- a/dav/optparser.c	Tue Aug 13 13:51:00 2013 +0200
+++ b/dav/optparser.c	Wed Aug 14 18:01:37 2013 +0200
@@ -1,7 +1,7 @@
 /*
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
  *
- * Copyright 2012 Olaf Wintermann. All rights reserved.
+ * Copyright 2013 Olaf Wintermann. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -74,6 +74,18 @@
                         ucx_map_cstr_put(a->options, "plain", "");
                         break;
                     }
+                    case 'a': {
+                        ucx_map_cstr_put(a->options, "all", "");
+                        break;
+                    }
+                    case 'l': {
+                        ucx_map_cstr_put(a->options, "list", "");
+                        break;
+                    }
+                    case 't': {
+                        ucx_map_cstr_put(a->options, "type", "");
+                        break;
+                    }
                     case 'o': {
                         if(!option) {
                             option = "output";

mercurial