meld r1322 - trunk



Author: stevek
Date: Sat Apr  4 08:56:36 2009
New Revision: 1322
URL: http://svn.gnome.org/viewvc/meld?rev=1322&view=rev

Log:
Allow 0 args

Modified:
   trunk/meldapp.py

Modified: trunk/meldapp.py
==============================================================================
--- trunk/meldapp.py	(original)
+++ trunk/meldapp.py	Sat Apr  4 08:56:36 2009
@@ -932,7 +932,7 @@
             if len(files) not in (1, 2, 3):
                 self.usage(_("Invalid number of arguments supplied for --diff."))
             self.append_diff(files)
-        if len(args) not in (1, 2, 3):
+        if len(args) not in (0, 1, 2, 3):
             self.usage(_("Wrong number of arguments (Got %i)") % len(args))
         else:
             tab = self.open_paths(args, options.auto_compare)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]