mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/parttool_get_info_wo_info_option_v4.0' into 'release/v4.0'
partition_table: Fix parttool.py crashes when retrieving partition info (v4.0) See merge request espressif/esp-idf!9064
This commit is contained in:
commit
02a53166b6
@ -261,7 +261,8 @@ def main():
|
|||||||
subparsers.add_parser("erase_partition", help="erase the contents of a partition on the device", parents=[partition_selection_parser])
|
subparsers.add_parser("erase_partition", help="erase the contents of a partition on the device", parents=[partition_selection_parser])
|
||||||
|
|
||||||
print_partition_info_subparser = subparsers.add_parser("get_partition_info", help="get partition information", parents=[partition_selection_parser])
|
print_partition_info_subparser = subparsers.add_parser("get_partition_info", help="get partition information", parents=[partition_selection_parser])
|
||||||
print_partition_info_subparser.add_argument("--info", help="type of partition information to get", nargs="+")
|
print_partition_info_subparser.add_argument("--info", help="type of partition information to get",
|
||||||
|
choices=["offset", "size"], default=["offset", "size"], nargs="+")
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
quiet = args.quiet
|
quiet = args.quiet
|
||||||
|
Loading…
x
Reference in New Issue
Block a user