cli: move list-permissions to info category

This commit is contained in:
Yuming Zhu 2017-03-03 11:52:11 +08:00 committed by Mike McLean
parent a8711956b2
commit 6641eb0510
3 changed files with 2 additions and 3 deletions

View file

@ -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)

View file

@ -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

View file

@ -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