diff --git a/manager.py b/manager.py index 2432df5..cf06f5a 100755 --- a/manager.py +++ b/manager.py @@ -262,6 +262,9 @@ def handle_add(args): print(f"Error: Invalid distros given: {', '.join(invalid_distros)}") print(f"Valid distros are: {', '.join(valid_distros)}") return + if 'main' in distros and len(distros) > 1: + print(f"Error: 'main' is mutually exclusive.") + return else: distros = None