Ticket #43931

generate_packets.py: Use argparse to handle command line arguments

오픈 날짜: 2022-02-19 22:22 마지막 업데이트: 2022-02-22 21:10

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1

Details

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 (None) to alienvalkyrie
  • Resolution Update from None to Accepted
  • Milestone Update from 3.1.0 (closed) to 3.2.0
  • Component 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
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login