From 642f5e833b4c30c8f515eeb679aef3b46b85fa56 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Mar 07 2017 15:23:17 +0000 Subject: PR#337 cli: move list-permissions to info category Merges #337 --- diff --git a/cli/koji b/cli/koji index b06cf3f..21ba190 100755 --- a/cli/koji +++ b/cli/koji @@ -2339,7 +2339,7 @@ def handle_list_volumes(options, session, args): print(volinfo['name']) def handle_list_permissions(options, session, args): - "[admin] List user permissions" + "[info] List user permissions" usage = _("usage: %prog list-permissions [options]") usage += _("\n(Specify the --help global option for a list of other help options)") parser = OptionParser(usage=usage) diff --git a/tests/test_cli/data/list-commands-admin.txt b/tests/test_cli/data/list-commands-admin.txt index a6bb710..68114a3 100644 --- a/tests/test_cli/data/list-commands-admin.txt +++ b/tests/test_cli/data/list-commands-admin.txt @@ -35,7 +35,6 @@ admin commands: import-cg Import external builds with rich metadata import-in-place Import RPMs that are already in place import-sig Import signatures into the database - list-permissions List user permissions list-signed List signed copies of rpms lock-tag Lock a tag make-task Create an arbitrary task diff --git a/tests/test_cli/data/list-commands.txt b/tests/test_cli/data/list-commands.txt index 177849a..7a4d8ce 100644 --- a/tests/test_cli/data/list-commands.txt +++ b/tests/test_cli/data/list-commands.txt @@ -35,7 +35,6 @@ admin commands: import-cg Import external builds with rich metadata import-in-place Import RPMs that are already in place import-sig Import signatures into the database - list-permissions List user permissions list-signed List signed copies of rpms lock-tag Lock a tag make-task Create an arbitrary task @@ -99,6 +98,7 @@ info commands: list-groups Print the group listings list-history Display historical data list-hosts Print the host listing + list-permissions List user permissions list-pkgs Print the package listing for tag or for owner list-tag-history Print a history of tag operations list-tag-inheritance Print the inheritance information for a tag