warning for both cli and config file option
This commit is contained in:
parent
80cf5ac94a
commit
21ff8143c4
2 changed files with 6 additions and 3 deletions
6
cli/koji
6
cli/koji
|
|
@ -150,6 +150,9 @@ def get_options():
|
|||
help=_("list commands"))
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
if options.ca:
|
||||
koji.util.deprecated("--ca option is deprecated and will be removed in 1.24")
|
||||
|
||||
# load local config
|
||||
try:
|
||||
result = koji.read_config(options.profile, user_config=options.configFile)
|
||||
|
|
@ -168,9 +171,6 @@ def get_options():
|
|||
value = os.path.expanduser(getattr(options, name))
|
||||
setattr(options, name, value)
|
||||
|
||||
if options.ca:
|
||||
koji.util.deprecated("--ca option is deprecated and will be removed in 1.24")
|
||||
|
||||
# honor topdir
|
||||
if options.topdir:
|
||||
koji.BASEDIR = options.topdir
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue