]> code.ossystems Code Review - openembedded-core.git/commit
devtool: sdk-update: tweak command-line handling of updateserver
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 19 Feb 2016 09:38:56 +0000 (22:38 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 21 Feb 2016 09:32:00 +0000 (09:32 +0000)
commit82497bde58fc8bdae8d8acfbf025a1a90b14cc3e
treeff5348861ce155c0434aa0e8da2e79abf608960b
parenteb7787d1652fd84a149fd394969f4f1099406051
devtool: sdk-update: tweak command-line handling of updateserver

Get the default value for updateserver from the configuration file and
show it in the help; also only make the parameter optional if it's
specified. This means we can also drop the check in the function as
argparse will then ensure it's specified if there's no config setting.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/sdk.py