control diffcommand