bin/gitscape in gitscape-1.6.1 vs bin/gitscape in gitscape-1.6.2

- old
+ new

@@ -46,11 +46,19 @@ op.on '-u', '--[no-]update-env', 'Whether to update environment branches when their development branch is updated' do |bool| options[:update_env] = bool end - op.on '-e', '--env-depth=ENV', [:staging, :qa, :live], 'The level of environments to push changes to' do |depth| + op.on '-e=ENV', '--env-depth=ENV', [:staging, :qa, :live], 'The level of environments to push changes to' do |depth| options[:env_depth] = depth + end + + op.on '--qa', 'Sets the environment depth for the command to qa. This is equivalent to "--env-depth=qa".' do + options[:env_depth] = :qa + end + + op.on '--live', 'Sets the environment depth for the command to live. This is equivalent to "--env-depth=live".' do + options[:env_depth] = :live end end op.parse!(ARGV)