summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Capsule/GenerateCapsule.py
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/Python/Capsule/GenerateCapsule.py')
-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
#