待辦事項 #43931

generate_packets.py: Use argparse to handle command line arguments

啟用日期: 2022-02-19 22:22 最後更新: 2022-02-22 21:10

回報者:
負責人:
類型:
狀態:
關閉
元件:
里程碑:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
1

細節

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

Ticket History (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 (closed) 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 修正

編輯

Please login to add comment to this ticket » 登入