aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/examples/brew-graph4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Contributions/examples/brew-graph b/Library/Contributions/examples/brew-graph
index dd87ffdf5..27c80af83 100755
--- a/Library/Contributions/examples/brew-graph
+++ b/Library/Contributions/examples/brew-graph
@@ -273,7 +273,9 @@ class Graph(NodeContainer, EdgeContainer, ClusterContainer):
def main():
- code, output = run(["brew", "deps", "--all"])
+ cmd = ["brew", "deps"]
+ cmd.extend(sys.argv[1:] or ["--all"])
+ code, output = run(cmd)
output = output.strip()
depgraph = list()