[tor-bugs] #9975 [Flashproxy]: use argparse rather than getopt

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Nov 7 16:33:47 UTC 2013


#9975: use argparse rather than getopt
-----------------------------+-----------------------
     Reporter:  infinity0    |      Owner:  infinity0
         Type:  enhancement  |     Status:  assigned
     Priority:  minor        |  Milestone:
    Component:  Flashproxy   |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+-----------------------

Comment (by atagar):

 Just spotted this ticket. For what it's worth both stem and arm use getopt
 using the following pattern...

 https://gitweb.torproject.org/arm.git/blob/HEAD:/arm/starter.py#l101

 Personally I like it quite a bit, but that said go with whatever you like
 best. :)

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9975#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list