Use formats dict when checking argv