Correct deprecation warnings for new dash syntax