aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/dependency.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/dependency.rb b/Library/Homebrew/dependency.rb
index c63e26f3f..88ffc99ba 100644
--- a/Library/Homebrew/dependency.rb
+++ b/Library/Homebrew/dependency.rb
@@ -94,11 +94,12 @@ class Dependency
end
end
- # Used to prune dependencies when calling expand with a block.
+ # Prune a dependency and its dependencies recursively
def prune
throw(:action, :prune)
end
+ # Prune a single dependency but do not prune its dependencies
def skip
throw(:action, :skip)
end