From 6641eb0510474f21432cbf11f6356551c1b72b1f Mon Sep 17 00:00:00 2001 From: Yuming Zhu Date: Fri, 3 Mar 2017 11:52:11 +0800 Subject: [PATCH] cli: move list-permissions to info category --- cli/koji | 2 +- tests/test_cli/data/list-commands-admin.txt | 1 - tests/test_cli/data/list-commands.txt | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cli/koji b/cli/koji index b06cf3f9..21ba190c 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 a6bb710d..68114a31 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 177849aa..7a4d8ce9 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