From 4cce4ac9907ed58e480a0a9c319a0af96c96108f Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Tue, 10 Jun 2014 00:28:56 +0200 Subject: [PATCH] graphs/depends: do not draw transitive dependencies by default The transitive dependencies make the graphs barely readable for large configs, with a large number of packages. So, just switch to not drawing the transitive dependencies by default. By popular demand... ;-) [Peter: reword] Signed-off-by: "Yann E. MORIN" Cc; Thomas Petazzoni Signed-off-by: Peter Korsgaard --- docs/manual/common-usage.txt | 2 +- support/scripts/graph-depends | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/manual/common-usage.txt b/docs/manual/common-usage.txt index eb8399024..539185a81 100644 --- a/docs/manual/common-usage.txt +++ b/docs/manual/common-usage.txt @@ -207,7 +207,7 @@ The +graph-depends+ behaviour can be controlled by setting options in the default, +0+, means no limit. * +--transitive+, +--no-transitive+, to draw (or not) the transitive - dependencies. The default is to draw transitive dependencies. + dependencies. The default is to not draw transitive dependencies. * +--colours R,T,H+, the comma-separated list of colours to draw the root package (+R+), the target packages (+T+) and the host packages diff --git a/support/scripts/graph-depends b/support/scripts/graph-depends index 42a42a854..29f271a8e 100755 --- a/support/scripts/graph-depends +++ b/support/scripts/graph-depends @@ -48,7 +48,7 @@ parser.add_argument("--colours", "-c", metavar="COLOR_LIST", dest="colours", + " packages, and the host packages, in this order." \ + " Defaults to: 'lightblue,grey,gainsboro'") parser.add_argument("--transitive", dest="transitive", action='store_true', - default=True) + default=False) parser.add_argument("--no-transitive", dest="transitive", action='store_false', help="Draw (do not draw) transitive dependencies") args = parser.parse_args()