#43931: generate_packets.py: Use argparse to handle command line arguments Open Date: 2022-02-19 14:22 Last Update: 2022-02-20 03:57 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/43931 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43931 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-02-20 03:57 Updated by: alienvalkyrie * Owner Update from (None) to alienvalkyrie * Resolution Update from None to Accepted * Milestone Update from 3.1.0 to 3.2.0 * Component Update from General to Bootstrap Comment: 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. --------------------------------------------------------------------- Ticket Status: Reporter: alienvalkyrie Owner: alienvalkyrie Type: Patches Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.2.0 Component: Bootstrap Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: Part of #43927. This also has the added benefit of easily providing help text and human-understandable error messages. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/43931 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43931