equal
deleted
inserted
replaced
|
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 |