summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2020-11-13 16:42:05 +0100
committerFelix Held <felix-coreboot@felixheld.de>2020-11-15 16:49:17 +0000
commite0117b14896a67d8eaf1cec82655316357d351dc (patch)
tree13432e744e43c8b3b8cdc1263b7d31acb30aa976
parent60a4643d6f53c2770bede1a649c3f14cafaa8b75 (diff)
downloadcoreboot-e0117b14896a67d8eaf1cec82655316357d351dc.tar.xz
util/cbfstool/amdcompress: fix short option for maxsize
Both the help and the maxsize option had the same short option character assigned. Change the short option for maxsize to m to fix this and to make it consistent with the rest of the code. Change-Id: Icac1a7d4906345c37a5c7bed2b4995fea25f860e Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47574 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
-rw-r--r--util/cbfstool/amdcompress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/amdcompress.c b/util/cbfstool/amdcompress.c
index b4e10a2c0e..ad6a039ee9 100644
--- a/util/cbfstool/amdcompress.c
+++ b/util/cbfstool/amdcompress.c
@@ -30,7 +30,7 @@ static struct option long_options[] = {
{"infile", required_argument, 0, 'i' },
{"outfile", required_argument, 0, 'o' },
{"compress", required_argument, 0, 'c' },
- {"maxsize", required_argument, 0, 'h' },
+ {"maxsize", required_argument, 0, 'm' },
{"uncompress", required_argument, 0, 'u' },
{"help", no_argument, 0, 'h' },
};