summaryrefslogtreecommitdiffstats
path: root/utils.py
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2014-03-04 20:49:32 +0100
committerJan Pokorný <jpokorny@redhat.com>2014-03-04 20:49:32 +0100
commita475daff0a8b297aab4e96888f90fd945ff795c5 (patch)
treebe506752ccc7b4d87de3c96964f14b9c4fb29482 /utils.py
parent316355b113279e8d17f2a8c80211d969a9c8a735 (diff)
downloadclufter-a475daff0a8b297aab4e96888f90fd945ff795c5.tar.gz
clufter-a475daff0a8b297aab4e96888f90fd945ff795c5.tar.xz
clufter-a475daff0a8b297aab4e96888f90fd945ff795c5.zip
utils: add a note wrt. longopt_letters_reprio (uppercasing)
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils.py b/utils.py
index 157341d..e273a66 100644
--- a/utils.py
+++ b/utils.py
@@ -141,7 +141,8 @@ def which(name, *where):
# prioritize consonants, deprioritize vowels (except for the first letter
# overall), which seems to be widely adopted technique for selecting short
-# options based on their long counterparts :)
+# options based on their long counterparts ;)
+# XXX could eventually also resort to using upper-case chars
longopt_letters_reprio = \
lambda longopt: \
(lambda lo: \