Fix logic for required options and flags on disable command