Remove broken compatibility code.
authorAdam Sampson <ats@offog.org>
Sun, 21 Sep 2003 17:39:24 +0000 (17:39 +0000)
committerAdam Sampson <ats@offog.org>
Sun, 21 Sep 2003 17:39:24 +0000 (17:39 +0000)
NEWS
rawdoglib/rawdog.py

diff --git a/NEWS b/NEWS
index a800d07589da1a87b3ac953563683bc6c74aac10..359908fe15195066baa48bbb93c417060955035a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,10 @@
+- rawdog 1.4
+
+Remove the broken option-compatibility code; the old syntax now isn't
+supported. This means changing "rawdog update write" to "rawdog
+--update --write" when you invoke rawdog, if you're still using the old
+syntax.
+
 - rawdog 1.3
 
 Reverted the "retry immediately" behaviour from 1.2, since it causes
index de914a9baaa963aab024e95529eaee7e43a24aa2..a152429c9ff9d19f43faf88dd8109aac0260055e 100644 (file)
@@ -556,13 +556,6 @@ def main(argv):
                elif o in ("-d", "--dir"):
                        statedir = a
 
-       # Support old option syntax.
-       for action in args:
-               if action in ("list", "update", "write"):
-                       optlist.append((action, None))
-               else:
-                       optlist.append(("update-feed", action))
-
        try:
                os.chdir(statedir)
        except OSError: