Converts the main bitbake program to use argparse instead of the
deprecated optparse.
The resulting Namespace returned by argparse should be equivalent to the
one returned from optparse; the only major difference is that the
positional "target" arguments are consumed by argparse and returned as
the "targets" property instead of an additional argument from
parse_args().
(Bitbake rev: bb2ea00274a594b7cc87a7cb0b165e9b28f6f3f4)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>