commit:     13b20c31cf23a2196411ae68d2202334e38a3384
Author:     Ben Torkington <prmera <AT> gmail <DOT> com>
AuthorDate: Mon Mar  2 17:53:38 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  3 19:44:22 2026 +0000
URL:        https://gitweb.gentoo.org/proj/mirrorselect.git/commit/?id=13b20c31

main: don't complain about these options which don't affect the behaviour

Closes: https://bugs.gentoo.org/970802
Signed-off-by: Ben Torkington <prmera <AT> gmail.com>
Part-of: https://codeberg.org/gentoo/mirrorselect/pulls/2
Merges: https://codeberg.org/gentoo/mirrorselect/pulls/2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 mirrorselect/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mirrorselect/main.py b/mirrorselect/main.py
index 2f8124b..54e3164 100755
--- a/mirrorselect/main.py
+++ b/mirrorselect/main.py
@@ -357,7 +357,7 @@ class MirrorSelect:
         if options.all_mirrors and hasattr(set_servers, "user_configured"):
             self.output.print_err("Choose at most one of -s or -a")
 
-        if options.interactive and (
+        if options.interactive and not options.rsync and (
             options.deep or options.blocksize or options.servers > 1
         ):
             self.output.print_err("Invalid option combination with -i")

Reply via email to