otatool: Fixes read_ota_partition cmd, required output arg

Closes: https://github.com/espressif/esp-idf/issues/6559
This commit is contained in:
KonstantinKondrashov 2021-03-03 16:57:35 +08:00 committed by bot
parent c69ceefb27
commit 1c54276021
2 changed files with 2 additions and 2 deletions

View File

@ -282,7 +282,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:

View File

@ -1 +1 @@
.. include:: ../../../en/api-reference/system/ota.rst
.. include:: ../../../en/api-reference/system/ota.rst