Skip to content

Commit

Permalink
firewall-cmd: Add missing action to fix --{add,remove}-entries-from-file
Browse files Browse the repository at this point in the history
The mising action="append" setting is needed to make --{add,remove}-entries-from-file functional as a sequence option.
  • Loading branch information
t-woerner committed Aug 3, 2016
1 parent 7e052dc commit 04f5c99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/firewall-cmd
Expand Up @@ -580,8 +580,8 @@ parser_ipset.add_argument("--add-entry", metavar="<entry>", action='append')
parser_ipset.add_argument("--remove-entry", metavar="<entry>", action='append')
parser_ipset.add_argument("--query-entry", metavar="<entry>", action='append')
parser_ipset.add_argument("--get-entries", action="store_true")
parser_ipset.add_argument("--add-entries-from-file", metavar="<filename>")
parser_ipset.add_argument("--remove-entries-from-file", metavar="<filename>")
parser_ipset.add_argument("--add-entries-from-file", metavar="<filename>", action='append')
parser_ipset.add_argument("--remove-entries-from-file", metavar="<filename>", action='append')

parser.add_argument("--icmptype", metavar="<icmptype>")

Expand Down

0 comments on commit 04f5c99

Please sign in to comment.