diff options
author | Zac Medico <zmedico@gmail.com> | 2008-12-31 16:05:00 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gmail.com> | 2008-12-31 16:05:00 -0800 |
commit | 07121e0c9bc5a239f4456bfe6be22c27bc192cc5 (patch) | |
tree | de5a45a037e00a888469ccd1e789dbf97d24fb0b /mirrorselect | |
parent | Bump version to 1.4. (diff) | |
download | mirrorselect-07121e0c9bc5a239f4456bfe6be22c27bc192cc5.tar.gz mirrorselect-07121e0c9bc5a239f4456bfe6be22c27bc192cc5.tar.bz2 mirrorselect-07121e0c9bc5a239f4456bfe6be22c27bc192cc5.zip |
Fix --help color formatting for digits in -4 and -6 options.
Diffstat (limited to 'mirrorselect')
-rwxr-xr-x | mirrorselect | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mirrorselect b/mirrorselect index 45d9928..6af3cf7 100755 --- a/mirrorselect +++ b/mirrorselect @@ -113,7 +113,7 @@ class ColoredFormatter(IndentedHelpFormatter): option) # options without args option = re.sub( - r"-([a-zA-Z?]+)", lambda m: "-" + output.green(m.group(1)), + r"-([a-zA-Z\d]+)", lambda m: "-" + output.green(m.group(1)), option) return option |