cli: document "list-signed" requires filesystem access

The "list-signed" command does not work with HTTP (topurl). It only
works with direct filesystem access (topdir).
This commit is contained in:
Ken Dreyer 2022-04-25 10:34:47 -04:00 committed by Tomas Kopecek
parent aec5294ebd
commit 5704beb99c

View file

@ -2250,7 +2250,8 @@ def handle_edit_user(goptions, session, args):
def handle_list_signed(goptions, session, args):
"[admin] List signed copies of rpms"
usage = "usage: %prog list-signed [options]"
parser = OptionParser(usage=get_usage_str(usage))
description = "You must have local access to Koji's topdir filesystem."
parser = OptionParser(usage=get_usage_str(usage), description=description)
# Don't use local debug option, this one stays here for backward compatibility
# https://pagure.io/koji/issue/2084
parser.add_option("--debug", action="store_true", default=goptions.debug, help=SUPPRESS_HELP)