wic: rename command line option -p -> -s

Short variant of wic command line option --skip-build-check
is incorretly named -p. It's named -s in wic help and Yocto
documentation.

(From OE-Core rev: 8d4121459334349f10bfb0f4cda00a8461aab245)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ed Bartosh 2016-12-08 15:19:55 +02:00 committed by Richard Purdie
parent 1417adcf53
commit 07dcfef1ea
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ def wic_create_subcommand(args, usage_str):
parser.add_option("-n", "--native-sysroot", dest="native_sysroot",
help="path to the native sysroot containing the tools "
"to use to build the image")
parser.add_option("-p", "--skip-build-check", dest="build_check",
parser.add_option("-s", "--skip-build-check", dest="build_check",
action="store_false", default=True, help="skip the build check")
parser.add_option("-f", "--build-rootfs", action="store_true", help="build rootfs")
parser.add_option("-c", "--compress-with", choices=("gzip", "bzip2", "xz"),