From 3d61e3db82ef5fb2aeb95a1e3885d05cb8c67349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=AE=D1=80=D0=B8=D0=B8=CC=86=20=D0=A1=D0=BE=D1=80=D0=BE?= =?UTF-8?q?=D0=BA=D0=B8=D0=BD?= Date: Fri, 2 Aug 2019 18:30:43 +0300 Subject: [PATCH] Make --ignore argiment optional --- xcode/build_phases/Unused.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcode/build_phases/Unused.rb b/xcode/build_phases/Unused.rb index b85cfb9..48a3ffd 100644 --- a/xcode/build_phases/Unused.rb +++ b/xcode/build_phases/Unused.rb @@ -104,7 +104,7 @@ class Unused options[:ignore] = [] opts.on("-c", "--config=FileName") { |c| options[:config] = c } - opts.on("-i", "--ignore=a, b, c", Array) { |i| options[:ignore] += i } + opts.on("-i", "--ignore [a, b, c]", Array) { |i| options[:ignore] += i if !i.nil? } end.parse!