X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfatables%2Fcommands%2FSetDefault.py;h=b840706bb64c14638c170d34792f53798c6b8656;hb=87121ca63d2b95bb155ea2adc5fd7c61d5cddcbe;hp=063caab92801cf1bbe7ead3d7c2a01ca36abba9e;hpb=7890210eadbb59fa7cebdadf698ff2b20ba11d0a;p=sfa.git diff --git a/sfatables/commands/SetDefault.py b/sfatables/commands/SetDefault.py index 063caab9..b840706b 100644 --- a/sfatables/commands/SetDefault.py +++ b/sfatables/commands/SetDefault.py @@ -1,9 +1,10 @@ import os, time +from sfatables.command import Command -class Command: - options = [] - help = '' - key='' +class SetDefault(Command): + options = [('-P','--default')] + help = 'Set the default rule for a chain' + key='set_default_rule' matches = False targets = False