put revdep inside 'if' block with cmd arg