diff options
| author | Trevor Woerner <twoerner@gmail.com> | 2025-09-09 15:41:12 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-09-11 11:31:55 +0100 |
| commit | 3e07b2e32352cf3eb036365b30a5e45f8cd1a1ad (patch) | |
| tree | 3b5d65c8d8637dcb3d1baca86926f960d001058d /scripts | |
| parent | 09c6c50b1d8dc5ef00455b9b6ece03da06183f22 (diff) | |
| download | poky-3e07b2e32352cf3eb036365b30a5e45f8cd1a1ad.tar.gz | |
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'.
(From OE-Core rev: 7e5c7633a3cb7f1718f40ba63ecc30bb8ea07928)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/lib/wic/partition.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py index 0c9b1a5b96..531ac6eb3d 100644 --- a/scripts/lib/wic/partition.py +++ b/scripts/lib/wic/partition.py | |||
| @@ -178,7 +178,7 @@ class Partition(): | |||
| 178 | if self.source not in plugins: | 178 | if self.source not in plugins: |
| 179 | raise WicError("The '%s' --source specified for %s doesn't exist.\n\t" | 179 | raise WicError("The '%s' --source specified for %s doesn't exist.\n\t" |
| 180 | "See 'wic list source-plugins' for a list of available" | 180 | "See 'wic list source-plugins' for a list of available" |
| 181 | " --sources.\n\tSee 'wic help source-plugins' for " | 181 | " --sources.\n\tSee 'wic help plugins' for " |
| 182 | "details on adding a new source plugin." % | 182 | "details on adding a new source plugin." % |
| 183 | (self.source, self.mountpoint)) | 183 | (self.source, self.mountpoint)) |
| 184 | 184 | ||
