任务单 #43931

generate_packets.py: Use argparse to handle command line arguments

开放日期: 2022-02-19 22:22 最后更新: 2022-02-22 21:10

报告人:
属主:
类型:
状态:
关闭
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
1

Details

Part of #43927. This also has the added benefit of easily providing help text and human-understandable error messages.

任务单历史 (3/4 Histories)

2022-02-19 22:22 Updated by: alienvalkyrie
  • New Ticket "generate_packets.py: Use argparse to handle command line arguments" created
2022-02-20 11:57 Updated by: alienvalkyrie
  • 属主 Update from (无) to alienvalkyrie
  • 处理结果 Update from to Accepted
  • 里程碑 Update from 3.1.0 (关闭) to 3.2.0
  • 组件 Update from General to Bootstrap
评论

This patch only includes the parameters that were already being read from sys.argv, not the parameters hard-coded in the script – those are handled in #43938.

2022-02-22 21:10 Updated by: alienvalkyrie
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from Accepted to Fixed

编辑

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登录名