#34316: Make -o/-i arguments mutually exclusive -------------------------------+------------------------------ Reporter: karsten | Owner: karsten Type: defect | Status: needs_review Priority: Medium | Milestone: Component: Metrics/Onionperf | Version: Severity: Normal | Resolution: Keywords: | Actual Points: Parent ID: | Points: 0.2 Reviewer: | Sponsor: Sponsor59 -------------------------------+------------------------------
Comment (by acute): TIL about `add_mutually_exclusive_group()` in `argparse`, thanks! This works nicely and the code reads well, setting to merge_ready. -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/34316#comment:2> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online
_______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs