Skip to contentSkip to conversation

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

PATCH New Ed Bartosh 1 participant 1 message Dec 8, 2016

lore
Share & tools
lore

Ed Bartosh

author
#0 lore raw

PATCH 1/1 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.

---
 scripts/wic | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/wic +1 -1
index fe2c33f..1ad1666 100755
@@ -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"),
Signature · 1 line
2.1.4