summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGua Guo <gua.guo@intel.com>2024-04-22 09:46:51 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-04-23 21:36:22 +0000
commitd97f964f7ce063f9861f4d21cc6352f6861f95a8 (patch)
treec9cb260d7c682858801caa0762371f14cf2f9065
parente3fa6986ae8521275fc6ca161f7394a3809f8723 (diff)
downloadedk2-d97f964f7ce063f9861f4d21cc6352f6861f95a8.tar.gz
edk2-d97f964f7ce063f9861f4d21cc6352f6861f95a8.tar.bz2
edk2-d97f964f7ce063f9861f4d21cc6352f6861f95a8.zip
BaseTools/Fmmt.py: Python 3.12 support
Ref to https://docs.python.org/3/whatsnew/3.12.html A backslash-character pair that is not a valid escape sequence now generates Cc: Rebecca Cran <rebecca@bsdio.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Bob Feng <bob.c.feng@intel.com> Cc: Yuwei Chen <yuwei.chen@intel.com> Signed-off-by: Gua Guo <gua.guo@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
-rw-r--r--BaseTools/Source/Python/FMMT/FMMT.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/FMMT/FMMT.py b/BaseTools/Source/Python/FMMT/FMMT.py
index 26fc4c5792..7505b6c88a 100644
--- a/BaseTools/Source/Python/FMMT/FMMT.py
+++ b/BaseTools/Source/Python/FMMT/FMMT.py
@@ -37,7 +37,7 @@ parser.add_argument("-l", "--LayoutFileName", dest="LayoutFileName", nargs='+',
the file will be generated with default name (Layout_'InputFileName'.txt). \
Currently supports two formats: json, txt. More formats will be added in the future")
parser.add_argument("-c", "--ConfigFilePath", dest="ConfigFilePath", nargs='+',
- help="Provide the target FmmtConf.ini file path: '-c C:\Code\FmmtConf.ini' \
+ help="Provide the target FmmtConf.ini file path: '-c C:\\Code\\FmmtConf.ini' \
FmmtConf file saves the target guidtool used in compress/uncompress process.\
If do not provide, FMMT tool will search the inputfile folder for FmmtConf.ini firstly, if not found,\
the FmmtConf.ini saved in FMMT tool's folder will be used as default.")