Opened 14 years ago

Closed 13 years ago

#14419 closed (fixed)

Make `makemessages --help` more useful

Reported by: Luc Saffre Owned by: nobody
Component: Core (Management commands) Version: dev
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Calling django-admin makemessages Without any option gives::

  Error: Type 'django-admin.py help makemessages' for usage.

But calling django-admin help makemessages doesn't produce a very clear documentation. Suggestions:

  • the overview description should mention that one of options -l and -a is required.
  • remove the word "only" in description of -l option ("Creates or updates the message files for the given locale (e.g. pt_BR).")
  • change the description of -a option to "Updates the message files for all existing locales."

Attachments (1)

14419.patch (2.2 KB ) - added by Filip Gruszczyński 14 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by Jannis Leidel, 14 years ago

Component: Uncategorizeddjango-admin.py
Triage Stage: UnreviewedAccepted

by Filip Gruszczyński, 14 years ago

Attachment: 14419.patch added

comment:2 by Filip Gruszczyński, 14 years ago

Has patch: set

comment:3 by Ramiro Morales, 13 years ago

Resolution: fixed
Status: newclosed

(In [15302]) Fixed #14419 -- Enhanced the help text of the makemessages management command. Thanks lsaffre for the report and suggestions and gruszczy for the patch.
Also, removed the sterile make-messages.py, compile-messages.py scripts and dead compatibility code in makemessages.

Note: See TracTickets for help on using tickets.
Back to Top