#3146 CLI mock-config: when topdir option, remove topurl value
Merged by tkopecek. Opened by jcupova.
jcupova/koji issue-2675  into  master

Download 3146.patch

Fixes: https://pagure.io/koji/issue/2675

1) Just delete that option (if it exists) from opts. There is no need to send it to server
2) Mention in help that topdir tops the topurl
3) Remove default from the point where it is. In case both options are used raise an error. In case no topdir nor topurl is used, use the default.

It should help with the confusing usage.

rebased onto 3282d6e55ff1704c633a3a8762cec7d2dc1f9f8f

@tkopecek fixed

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

:thumbsup:

rebased onto ec2a1359e5fd9d7178586b8977fc287cf5957be7

Metadata Update from @ksulayma:
- Pull-request tagged with: testing-done

pretty please pagure-ci rebuild

Commit af872143 fixes this pull-request

Pull-Request has been merged by tkopecek

Metadata