From: Trevor Woerner Date: Tue, 9 Sep 2025 19:41:12 +0000 (-0400) Subject: wic: partition.py: fix help string X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7e5c7633a3cb7f1718f40ba63ecc30bb8ea07928;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git wic: partition.py: fix help string The help suggests invoking 'wic help source-plugins' for information on how to add a new plugin, this results in: usage: wic help [-h] {plugins,overview,kickstart,create,ls,cp,rm,write,list} ... wic help: error: argument help_topic: invalid choice: 'source-plugins' (choose from 'plugins', 'overview', 'kickstart', 'create', 'ls', 'cp', 'rm', 'write', 'list') The proper command is 'wic help plugins'. Signed-off-by: Trevor Woerner Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py index 0c9b1a5b962..531ac6eb3d4 100644 --- a/scripts/lib/wic/partition.py +++ b/scripts/lib/wic/partition.py @@ -178,7 +178,7 @@ class Partition(): if self.source not in plugins: raise WicError("The '%s' --source specified for %s doesn't exist.\n\t" "See 'wic list source-plugins' for a list of available" - " --sources.\n\tSee 'wic help source-plugins' for " + " --sources.\n\tSee 'wic help plugins' for " "details on adding a new source plugin." % (self.source, self.mountpoint))