diff options
| author | fuzzyray <fuzzyray@gentoo.org> | 2007-09-12 23:02:07 +0000 |
|---|---|---|
| committer | fuzzyray <fuzzyray@gentoo.org> | 2007-09-12 23:02:07 +0000 |
| commit | a4373ee16f1bd8c774e443e33a6ec9e5411a6362 (patch) | |
| tree | 5b9480ac7708fc48a8df1749fb92643382c7e44f /trunk/src | |
| parent | 321eff7695cb2438de003ab4173130da64fe97c3 (diff) | |
| download | gentoolkit-a4373ee16f1bd8c774e443e33a6ec9e5411a6362.tar.gz | |
Fix long argument processing to work correctly. (Bug #192345)
svn path=/; revision=433
Diffstat (limited to 'trunk/src')
| -rw-r--r-- | trunk/src/eclean/eclean | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/trunk/src/eclean/eclean b/trunk/src/eclean/eclean index 1ee2fba..4fdec10 100644 --- a/trunk/src/eclean/eclean +++ b/trunk/src/eclean/eclean @@ -334,12 +334,12 @@ def parseArgs(myoptions={}): # here are the different allowed command line options (getopt args) getopt_options = {'short':{}, 'long':{}} - getopt_options['short']['global'] = "Cdipqe::t::nhV" + getopt_options['short']['global'] = "Cdipqe:t:nhV" getopt_options['long']['global'] = ["nocolor", "destructive", \ - "interactive", "pretend", "quiet", "exclude-file", "time-limit", \ + "interactive", "pretend", "quiet", "exclude-file=", "time-limit=", \ "package-names", "help", "version"] - getopt_options['short']['distfiles'] = "fs::" - getopt_options['long']['distfiles'] = ["fetch-restricted", "size-limit"] + getopt_options['short']['distfiles'] = "fs:" + getopt_options['long']['distfiles'] = ["fetch-restricted", "size-limit="] getopt_options['short']['packages'] = "" getopt_options['long']['packages'] = [""] # set default options, except 'nocolor', which is set in main() |
