Fixed the 'restrict to nodes' target.
[sfa.git] / sfatables / commands / Delete.py
index 063caab..cac5445 100644 (file)
@@ -1,9 +1,10 @@
 import os, time
+from sfatables.command import Command
 
-class Command:
-    options = []
-    help = ''
-    key=''
+class Delete(Command):
+    options = [('-D','--delete')]
+    help = 'Delete a rule from a chain'
+    key='delete_rule'
     matches = False
     targets = False