]> code.ossystems Code Review - openembedded-core.git/commit
wic: beautify 'wic help'
authorChee Yang Lee <chee.yang.lee@intel.com>
Fri, 8 Nov 2019 03:41:19 +0000 (11:41 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Nov 2019 12:55:56 +0000 (12:55 +0000)
commitd29d553cc096f4e1208c44dc595e1cf365c3dff3
tree01e62f48987c1a62882624f6e54ecfa6775925ac
parente3f8b1dd5fa1bb85b685148b5ba106c61367294d
wic: beautify 'wic help'

The Wic help returned to the user is unreadable.

Use a custom ArgumentParser to override argparse help message.

change help message as suggest in
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12205
[YOCTO #12205]

changes applies to 'wic help', 'wic -h', 'wic --h' and 'wic --help'

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/help.py
scripts/wic