git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copy attributes in addition of internal tags.
[sfa.git]
/
sfatables
/
commands
/
Delete.py
diff --git
a/sfatables/commands/Delete.py
b/sfatables/commands/Delete.py
index
d90c583
..
50b1d62
100644
(file)
--- 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):
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]
chain = command_options.args[0]