[OE-core] [wic][PATCH] wic: rename command line option -p -> -s

Ed Bartosh ed.bartosh at linux.intel.com
Thu Dec 8 13:19:55 UTC 2016


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

Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
 scripts/wic | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/wic b/scripts/wic
index fe2c33f..1ad1666 100755
--- a/scripts/wic
+++ b/scripts/wic
@@ -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"),
-- 
2.1.4




More information about the Openembedded-core mailing list