Commit 0bc82f0a authored by Joshua Kalpin's avatar Joshua Kalpin

Remove silent from the options for search as per @alloy's suggestion

parent 8cd43db4
...@@ -17,7 +17,7 @@ module Pod ...@@ -17,7 +17,7 @@ module Pod
["--stats", "Show additional stats (like GitHub watchers and forks)"], ["--stats", "Show additional stats (like GitHub watchers and forks)"],
["--ios", "Restricts the search to Pods supported on iOS"], ["--ios", "Restricts the search to Pods supported on iOS"],
["--osx", "Restricts the search to Pods supported on OS X"] ["--osx", "Restricts the search to Pods supported on OS X"]
].concat(super) ].concat(super.reject { |option, _| option == '--silent' })
end end
def initialize(argv) def initialize(argv)
......
...@@ -46,7 +46,7 @@ module Pod ...@@ -46,7 +46,7 @@ module Pod
output.should.not.include? 'BananaLib' output.should.not.include? 'BananaLib'
end end
it "gives output when the silent config is true" do it "outputs with the silent parameter" do
output = run_command('search', 'BananaLib', '--silent') output = run_command('search', 'BananaLib', '--silent')
output.should.include? 'BananaLib' output.should.include? 'BananaLib'
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment