rimage.c: fix bug where -p requires a new and ignored parameter

Fixes commit 6e3abe6afe ("rimage: Add suport for loadable modules")

It looks like that commit mistook the `:` sign as a separator. This
accidentally added the requirement to give `-p` a parameter which is
then ignored. Remove the spurious `:`.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2023-07-11 17:27:03 +00:00 committed by Kai Vehmanen
parent 48777207f5
commit aa0ac9eae6
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ int main(int argc, char *argv[])
image.imr_type = MAN_DEFAULT_IMR_TYPE;
while ((opt = getopt(argc, argv, "ho:va:s:k:ri:f:b:ec:y:q:p:l")) != -1) {
while ((opt = getopt(argc, argv, "ho:va:s:k:ri:f:b:ec:y:q:pl")) != -1) {
switch (opt) {
case 'o':
image.out_file = optarg;