X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfatables%2Fcommands%2FDelete.py;h=50b1d6261bd85e26b2708246aa7945d66f0726d4;hb=b436db52dc72f2c2e0f271b4d164f477c7672845;hp=d90c583f3c6e3069e3bf454191981e207011726e;hpb=4f5aa107ea1efb7a1e67da360ab91e7aacbd80a8;p=sfa.git diff --git a/sfatables/commands/Delete.py b/sfatables/commands/Delete.py index d90c583f..50b1d626 100644 --- a/sfatables/commands/Delete.py +++ b/sfatables/commands/Delete.py @@ -15,7 +15,8 @@ class Delete(Command): def call(self, command_options, match_options, target_options): if (len(command_options.args)<2): - print "Please specify the chain and the rule number to delete, e.g. sfatables -D INCOMING 1" + print "Please specify the chain and the rule number to delete, e.g. sfatables -D INCOMING 1." + return chain = command_options.args[0]