From patchwork Fri May 9 14:58:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 347437 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 8F702140086 for ; Sat, 10 May 2014 00:58:48 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C0B218C78B; Fri, 9 May 2014 14:58:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id myd9yupI9yIp; Fri, 9 May 2014 14:58:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 13DE98C73A; Fri, 9 May 2014 14:58:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 8A84A1CE6EA for ; Fri, 9 May 2014 14:58:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 874C28B994 for ; Fri, 9 May 2014 14:58:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DlmBOQOPZAnH for ; Fri, 9 May 2014 14:58:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f169.google.com (mail-we0-f169.google.com [74.125.82.169]) by fraxinus.osuosl.org (Postfix) with ESMTPS id ED7A68B74A for ; Fri, 9 May 2014 14:58:35 +0000 (UTC) Received: by mail-we0-f169.google.com with SMTP id u56so4126540wes.28 for ; Fri, 09 May 2014 07:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=A3e4G58tp5viPS/Zg4riZZ3vVI0j+vG597w2UlvYJ7g=; b=S6i3GUSUI6tcXKlvP5/yG72WSc+CtAjxNizP/0QS/gS6v0GAjXB3Mc5OX4S2PeDTyX VRTfdLJbE9mJNsa8HqU+1Uu7598mz4qYJJiUE+3DY02kvXbO+dYVUb34YF+oRrhNbM6S iDLfU+OzA1gk8C/xNQrVpKe1wW70a1rrl04j7PeARHt6wcXS8NYTQ9rxE1GM7Xjbsds1 kGuPiyb8U/VEvI9Xy5sPZ2mgJAWcFHMNRxlVN232ugZ85XZcOqPtvQlaOrww1fMKBT/W Ke5M4KeLGAxDH6yoNmhWOOFGOMPE5AFtRPWVv193uIP5GnJ7vt22PVbOGRtvuoI1BLKV 6C9g== X-Received: by 10.180.91.40 with SMTP id cb8mr3808301wib.34.1399647514482; Fri, 09 May 2014 07:58:34 -0700 (PDT) Received: from gourin.bzh.lan (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPSA id pl6sm5776351wjc.0.2014.05.09.07.58.32 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 May 2014 07:58:33 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Fri, 9 May 2014 16:58:24 +0200 Message-Id: <3bc4c9ae2a0cba55eabe50b430d391d6b8a01851.1399647182.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 4/7] graph-depends: document the max_depth variable X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: "Yann E. MORIN" Although unnecessary (we already have initialisation via the parser), initialise the max_depth option, and document it at the same time. Signed-off-by: "Yann E. MORIN" --- support/scripts/graph-depends | 3 +++ 1 file changed, 3 insertions(+) diff --git a/support/scripts/graph-depends b/support/scripts/graph-depends index dd8b549..3bffec0 100755 --- a/support/scripts/graph-depends +++ b/support/scripts/graph-depends @@ -37,6 +37,9 @@ mode = 0 # Limit drawing the dependency graph to this depth. 0 means 'no limit'. max_depth = 0 +# Whether to draw the transitive dependencies +transitive = True + parser = argparse.ArgumentParser(description="Graph pacakges dependencies") parser.add_argument("--package", '-p', metavar="PACKAGE", help="Graph the dependencies of PACKAGE")