From: Kinney, Michael D Date: Sat, 28 Jul 2018 07:10:51 +0000 (-0700) Subject: BaseTools/Capsule: Do not support -o with --dump-info X-Git-Tag: edk2-stable201903~1297 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=f33d5d68abc02727dc828c1079e72ab65e1d63af 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 --- 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 #