X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=sfatables%2Fcommands%2FAdd.py;h=c6f89a880ff0a09b7094540d36e10dfc2092cf73;hp=da02e869258646c75e1cdd2fac8ca19a15dffe47;hb=a26c2035f895f329fd7d2a8892b7606be0d46116;hpb=7c42b6c1d131151c62454eeb29c331b4612715cd diff --git a/sfatables/commands/Add.py b/sfatables/commands/Add.py index da02e869..c6f89a88 100644 --- a/sfatables/commands/Add.py +++ b/sfatables/commands/Add.py @@ -4,12 +4,11 @@ from sfatables.command import Command from sfatables.globals import * class Add(Command): - options = [('-A','--add')] - help = 'Add a rule to a chain' - matches = True - targets = True - def __init__(self): + self.options = [('-A','--add')] + self.help = 'Add a rule to a chain' + self.matches = True + self.targets = True return def getnextfilename(self,type,chain):