From: fuzzyray Date: Mon, 15 Nov 2010 23:56:17 +0000 (-0000) Subject: Change keywords short option to 'y' from 'k' which was already taken by the check... X-Git-Tag: gentoolkit-0.3.0_rc11~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4ae84cfa06e64a74cf864f137adefbe5e2301ebb;p=gentoolkit.git 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 --- 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',