diff options
| author | fuzzyray <fuzzyray@gentoo.org> | 2010-11-15 23:56:17 +0000 |
|---|---|---|
| committer | fuzzyray <fuzzyray@gentoo.org> | 2010-11-15 23:56:17 +0000 |
| commit | 4ae84cfa06e64a74cf864f137adefbe5e2301ebb (patch) | |
| tree | ee92052fa1252026da615085db23f377c44a6206 /pym | |
| parent | fd311753838d4d6bf0f263a9300619baaf53c15c (diff) | |
| download | gentoolkit-4ae84cfa06e64a74cf864f137adefbe5e2301ebb.tar.gz | |
Change keywords short option to 'y' from 'k' which was already taken by the check keyword. Uncomment has keyword in test_init.py
svn path=/trunk/gentoolkit/; revision=849
Diffstat (limited to 'pym')
| -rw-r--r-- | pym/gentoolkit/equery/__init__.py | 4 | ||||
| -rw-r--r-- | pym/gentoolkit/test/equery/test_init.py | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/pym/gentoolkit/equery/__init__.py b/pym/gentoolkit/equery/__init__.py index 6fcdd02..e25ec54 100644 --- a/pym/gentoolkit/equery/__init__.py +++ b/pym/gentoolkit/equery/__init__.py @@ -54,7 +54,7 @@ NAME_MAP = { 'f': 'files', 'h': 'hasuse', 'l': 'list_', - 'k': 'keywords', + 'y': 'keywords', 'a': 'has', 'm': 'meta', 's': 'size', @@ -95,7 +95,7 @@ def print_help(with_description=True): (" (f)iles", "list all files installed by PKG"), (" h(a)s", "list all packages for matching ENVIRONMENT data stored in /var/db/pkg"), (" (h)asuse", "list all packages that have USE flag"), - (" (k)keywords", "display keywords for specified PKG"), + (" ke(y)words", "display keywords for specified PKG"), (" (l)ist", "list package matching PKG"), (" (m)eta", "display metadata about PKG"), (" (s)ize", "display total size of all files owned by PKG"), diff --git a/pym/gentoolkit/test/equery/test_init.py b/pym/gentoolkit/test/equery/test_init.py index 31da635..520b97d 100644 --- a/pym/gentoolkit/test/equery/test_init.py +++ b/pym/gentoolkit/test/equery/test_init.py @@ -25,6 +25,7 @@ class TestEqueryInit(unittest.TestCase): 'g': 'depgraph', 'f': 'files', 'h': 'hasuse', + 'y': 'keywords', 'l': 'list_', 'm': 'meta', 's': 'size', |
