wic: partition.py: fix help string
PATCH 1/1 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 <[email protected]>
--- scripts/lib/wic/partition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lib/wic/partition.py +1 -1
@@ -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))
Signature · 1 line
2.44.0.501.g19981daefd7c