task argument parsing