lib/chef/knife/profitbricks_firewall_create.rb in knife-profitbricks-1.0.0 vs lib/chef/knife/profitbricks_firewall_create.rb in knife-profitbricks-1.1.1
- old
+ new
@@ -31,10 +31,11 @@
option :protocol,
short: '-P PROTOCOL',
long: '--protocol PROTOCOL',
default: 'TCP',
description: 'The protocol of the firewall rule (TCP, UDP, ICMP,' \
- ' ANY)'
+ ' ANY)',
+ required: true
option :sourcemac,
short: '-m MAC',
long: '--source-mac MAC',
description: 'Only traffic originating from the respective MAC' \