[CalendarServer-changes] [5720] CalDAVClientLibrary/trunk/src/browser/commands/ls.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Jun 10 13:53:34 PDT 2010


Revision: 5720
          http://trac.macosforge.org/projects/calendarserver/changeset/5720
Author:   cdaboo at apple.com
Date:     2010-06-10 13:53:32 -0700 (Thu, 10 Jun 2010)
Log Message:
-----------
Add a -a option that does nothing.

Modified Paths:
--------------
    CalDAVClientLibrary/trunk/src/browser/commands/ls.py

Modified: CalDAVClientLibrary/trunk/src/browser/commands/ls.py
===================================================================
--- CalDAVClientLibrary/trunk/src/browser/commands/ls.py	2010-06-10 20:18:42 UTC (rev 5719)
+++ CalDAVClientLibrary/trunk/src/browser/commands/ls.py	2010-06-10 20:53:32 UTC (rev 5720)
@@ -33,11 +33,13 @@
         longlist = False
         path = None
 
-        opts, args = getopt.getopt(shlex.split(options), 'l')
+        opts, args = getopt.getopt(shlex.split(options), 'al')
 
         for name, _ignore_value in opts:
             
-            if name == "-l":
+            if name == "-a":
+                pass
+            elif name == "-l":
                 longlist = True
             else:
                 print "Unknown option: %s" % (name,)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100610/c671d930/attachment.html>


More information about the calendarserver-changes mailing list