management command options to match command line use

patch for https://code.djangoproject.com/ticket/19570