This commit is contained in:
S.Çağlar Onur
2005-12-19 15:14:48 +00:00
parent 13417320e4
commit e3c449bcbb
+2 -1
View File
@@ -70,7 +70,8 @@ class Command(object):
self.options()
self.commonopts()
(self.options, self.args) = self.parser.parse_args()
self.args.pop(0) # exclude command arg
if self.args:
self.args.pop(0) # exclude command arg
self.process_opts()