support/graph-depends: use argparse to parse argv[]
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 13 Apr 2014 20:42:38 +0000 (22:42 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 14 Apr 2014 18:56:18 +0000 (20:56 +0200)
commit3d37950ec171944aacf3e6fd4ec2a349181db617
tree2926bf08db7e61b7085529c6a2e4b722999b08ee
parent22d05901c37820fe9fcfa606ab09e2c7325b2d31
support/graph-depends: use argparse to parse argv[]

Currently, we are using a crude, ad-hoc parsing of argv[].
This is a limiting factor to adding new options.

Use argparse instead, and introduce a single argument for now:
  --package, -p PACKAGE

In the (near) future, we'll be able to add more option arguments,
such as depth-limiting for big graphs.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pkg-generic.mk
support/scripts/graph-depends