From 4ae84cfa06e64a74cf864f137adefbe5e2301ebb Mon Sep 17 00:00:00 2001 From: fuzzyray Date: Mon, 15 Nov 2010 23:56:17 +0000 Subject: [PATCH] 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 --- pym/gentoolkit/equery/__init__.py | 4 ++-- 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', -- 2.26.2