Re: [PATCH 04/11] builtin/maintenance: mark "--task=" and "--schedule=" as incompatible
From: Ramsay Jones <hidden>
Date: 2025-05-27 16:46:34
From: Ramsay Jones <hidden>
Date: 2025-05-27 16:46:34
On 27/05/2025 15:04, Patrick Steinhardt wrote:
The "--task=" option explicitly allows the user to say which maintenance tasks should be run, whereas "--schedule=" only respects the maintenance strategy configured for a specific repository. As such, it is sensible
s/is sensible/is not sensible/ ?
to accept both options at the same time. Mark them as incompatible with one another. While at it, also convert the existing logic that marks "--auto" and "--schedule=" as incompatible to use `die_for_incompatible_opt2()`. Signed-off-by: Patrick Steinhardt <redacted>
[snip] ATB, Ramsay Jones