From f33d5d68abc02727dc828c1079e72ab65e1d63af Mon Sep 17 00:00:00 2001 From: "Kinney, Michael D" Date: Sat, 28 Jul 2018 00:10:51 -0700 Subject: [PATCH] BaseTools/Capsule: Do not support -o with --dump-info https://bugzilla.tianocore.org/show_bug.cgi?id=1025 Cc: Sean Brogan Cc: Jiewen Yao Cc: Yonghong Zhu Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney Reviewed-by: Yonghong Zhu --- BaseTools/Source/Python/Capsule/GenerateCapsule.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BaseTools/Source/Python/Capsule/GenerateCapsule.py b/BaseTools/Source/Python/Capsule/GenerateCapsule.py index 34337b2710..3c641bdca7 100644 --- a/BaseTools/Source/Python/Capsule/GenerateCapsule.py +++ b/BaseTools/Source/Python/Capsule/GenerateCapsule.py @@ -339,6 +339,10 @@ if __name__ == '__main__': args.OpenSslOtherPublicCertFile = args.OpenSslOtherPublicCertFile.name args.OpenSslTrustedPublicCertFile = args.OpenSslTrustedPublicCertFile.name + if args.DumpInfo: + if args.OutputFile is not None: + parser.error ('the following option is not supported for dumpinfo operations: --output') + # # Read binary input file # -- 2.39.2