#27988 closed Bug (fixed)
django-admin documentation typo (--v instead of -v)
Reported by: | Ákos | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.10 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
At https://docs.djangoproject.com/en/1.10/ref/django-admin/#cmdoption-verbosity, the short form of the flag is incorrectly prefixed with two dashes.
The usage output for the command shows only one (and fails with two):
$ python manage.py sqlmigrate --v 3 <app> <migration> usage: manage.py sqlmigrate [-h] [--version] [-v {0,1,2,3}] [--settings SETTINGS] [--pythonpath PYTHONPATH] [--traceback] [--no-color] [--database DATABASE] [--backwards] app_label migration_name manage.py sqlmigrate: error: ambiguous option: --v could match --verbosity, --version
Note:
See TracTickets
for help on using tickets.
In ea36e745: