This function seems kind of poorly named, based on the fact that it bakes in some pretty specific assumptions about what your allowed command-line arguments are.