Skip to content

Commit

Permalink
otatool: Fixes read_ota_partition cmd, required output arg
Browse files Browse the repository at this point in the history
Closes: #6559
  • Loading branch information
KonstantinKondrashov authored and espressif-bot committed Jul 19, 2021
1 parent 469be5f commit 12f666f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/en/api-reference/system/ota.rst
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ The command-line interface of `otatool.py` has the following structure:
otatool.py --port "/dev/ttyUSB1" switch_ota_partition --slot 1
# Read OTA partition 'ota_3' and save contents to a file named 'ota_3.bin'
otatool.py --port "/dev/ttyUSB1" read_ota_partition --name=ota_3
otatool.py --port "/dev/ttyUSB1" read_ota_partition --name=ota_3 --output=ota_3.bin
More information can be obtained by specifying `--help` as argument:
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_CN/api-reference/system/ota.rst
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ Python API
otatool.py --port "/dev/ttyUSB1" switch_ota_partition --slot 1
# 读取 OTA 分区 'ota_3',将内容保存至文件 'ota_3.bin'
otatool.py --port "/dev/ttyUSB1" read_ota_partition --name=ota_3
otatool.py --port "/dev/ttyUSB1" read_ota_partition --name=ota_3 --output=ota_3.bin
更多信息可用 `--help` 指令查看:
Expand Down

0 comments on commit 12f666f

Please sign in to comment.