genrandconfig: replace kwargs with explicit arguments
authorArnout Vandecappelle <arnout@mind.be>
Fri, 21 Jul 2017 01:05:11 +0000 (03:05 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 25 Jul 2017 20:42:45 +0000 (22:42 +0200)
commit22978c7399ee7cd76dbb3d57cdc6f018a68c326c
treebb67c06fc8483e4453561baa645a82819e19d8d9
parent30f7fec0a8590604d4d481f0b8e9db826f2b8af7
genrandconfig: replace kwargs with explicit arguments

kwargs is a left-over from the use of docopt, it's better to use
argparse's Namespace object directly.

In addition, most functions use just one or two fields of args, so
these can just as well be passed directly as arguments to the function.
Particularly for outputdir it doesn't make sense to reconstruct it all
the time.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
utils/genrandconfig