Isolate command argument state from outer scope.