summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/FMMT/FMMT.py
diff options
context:
space:
mode:
authorChen, Christine <Yuwei.Chen@intel.com>2022-09-16 09:50:56 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-10-19 06:32:07 +0000
commit0e6db46b1be173e7207bfadc05221a20f9b0dd02 (patch)
treefa22c572ee5c6e373d6dae753f67ee6a2122e7ef /BaseTools/Source/Python/FMMT/FMMT.py
parentb03dceb87f400e2e5437f775427fab5338532ee7 (diff)
downloadedk2-0e6db46b1be173e7207bfadc05221a20f9b0dd02.tar.gz
edk2-0e6db46b1be173e7207bfadc05221a20f9b0dd02.tar.bz2
edk2-0e6db46b1be173e7207bfadc05221a20f9b0dd02.zip
BaseTools/FMMT: Add Extract FV function
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3938 With this patch "-e" parameter supports extract FV function. Usage: FMMT -e Inputfile TargetFv Outputfile Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Yuwei Chen <yuwei.chen@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/FMMT/FMMT.py')
-rw-r--r--BaseTools/Source/Python/FMMT/FMMT.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/FMMT/FMMT.py b/BaseTools/Source/Python/FMMT/FMMT.py
index 10800e776a..3590f3340e 100644
--- a/BaseTools/Source/Python/FMMT/FMMT.py
+++ b/BaseTools/Source/Python/FMMT/FMMT.py
@@ -24,7 +24,8 @@ parser.add_argument("-d", "--Delete", dest="Delete", nargs='+',
If not given TargetFvName, all the existed target Ffs will be deleted'")
parser.add_argument("-e", "--Extract", dest="Extract", nargs='+',
help="Extract a Ffs Info: '-e inputfile TargetFvName(Optional) TargetFfsName outputfile\
- If not given TargetFvName, the first found target Ffs will be extracted'")
+ If not given TargetFvName, the first found target Ffs will be extracted.\
+ If only given TargetFvName, not given TargetFfsName, the TargetFv will be extracted to output file'")
parser.add_argument("-a", "--Add", dest="Add", nargs='+',
help="Add a Ffs into a FV:'-a inputfile TargetFvName newffsfile outputfile'")
parser.add_argument("-r", "--Replace", dest="Replace", nargs='+',