summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKinney, Michael D <michael.d.kinney@intel.com>2018-07-28 00:10:51 -0700
committerKinney, Michael D <michael.d.kinney@intel.com>2018-08-02 14:35:25 -0700
commitf33d5d68abc02727dc828c1079e72ab65e1d63af (patch)
treef954d89532e9d17394964a7f084eb31bb61c20ca
parent4619b183f71c1a7c966927060e99aa1f887f605e (diff)
downloadedk2-f33d5d68abc02727dc828c1079e72ab65e1d63af.tar.gz
edk2-f33d5d68abc02727dc828c1079e72ab65e1d63af.tar.bz2
edk2-f33d5d68abc02727dc828c1079e72ab65e1d63af.zip
BaseTools/Capsule: Do not support -o with --dump-info
https://bugzilla.tianocore.org/show_bug.cgi?id=1025 Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
-rw-r--r--BaseTools/Source/Python/Capsule/GenerateCapsule.py4
1 files changed, 4 insertions, 0 deletions
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
#