#29301: Reorder management command arguments in --help output to prioritize
command-specific arguments
-------------------------------------+-------------------------------------
Reporter: David Foster | Owner: David
Type: | Foster
Cleanup/optimization | Status: new
Component: Core (Management | Version: 2.0
commands) |
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jann Haber):
I have tested both PRs with django_nose and both don't make django-nose
crash anymore. However, the outcome is a little different (as expected).
The PR of Claude is missing to sort --verbosity to the end, however this
could be added easily to the "show_last" list. The other arguments are
sorted to the end as expected. The arguments are (other than the order of
the arguments) identical as in Django 2.0
The PR of David does not add the django --verbosity (-v) or --version,
since these are "overwritten" by the corresponding arguments of nose.
Please note, that it is already sufficient if e.g. only the short or only
the long version of the argument is used by the third-party command, to
have the ArgumentError appear and then to skip the entire argument. -v is
already used by nose, so the django --verbosity is not added at all (the
short version is also -v).
I am also in favour of the PR of Claude. It seems to be the least impact
option and achieves exactly what the PR was aiming for.
--
Ticket URL: <https://code.djangoproject.com/ticket/29301#comment:16>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.a8f30412d4b1b071edcae5c485225435%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.