mercurial/fancyopts.py
changeset 8230 ec98f35e3e16
parent 7772 88887054d277
child 8366 0bf0045000b5
equal deleted inserted replaced
8229:ddf3d6656e7c 8230:ec98f35e3e16
       
     1 # fancyopts.py - better command line parsing
       
     2 #
       
     3 #  Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others
       
     4 #
       
     5 # This software may be used and distributed according to the terms of the
       
     6 # GNU General Public License version 2, incorporated herein by reference.
       
     7 
     1 import getopt
     8 import getopt
     2 
     9 
     3 def gnugetopt(args, options, longoptions):
    10 def gnugetopt(args, options, longoptions):
     4     """Parse options mostly like getopt.gnu_getopt.
    11     """Parse options mostly like getopt.gnu_getopt.
     5 
    12