Add a boundary to parse_patches()
[stgit] / stgit / commands / delete.py
index 515f4b7..e1a70c9 100644 (file)
@@ -46,7 +46,7 @@ def func(parser, options, args):
     all_patches = applied_patches + unapplied_patches
 
     if args:
-        patches = parse_patches(args, all_patches)
+        patches = parse_patches(args, all_patches, len(applied_patches))
     else:
         parser.error('No patches specified')