[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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

Comment (by atagar):

 > Do you have a way to automatically generate --help output for the
 options? Automatic --help output is the big thing for me.

 I consider automatic help to be a minus rather than a plus (I want full
 control over the
 [https://gitweb.torproject.org/arm.git/blob/HEAD:/arm/settings.cfg help
 output]).

 > This issue is particularly baffling.

 True, positional arguments is one thing it definitely does not handle
 well. Stem and arm don't need that, but if you do then you might need to
 fall back on checking the argv for those (ick).

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9975#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs