Opened 15 years ago
Closed 15 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 
-land-ais required. 
- remove the word "only" in description of 
-loption ("Creates or updates the message files for the given locale (e.g. pt_BR).") 
- change the description of 
-aoption to "Updates the message files for all existing locales." 
Attachments (1)
Change History (4)
comment:1 by , 15 years ago
| Component: | Uncategorized → django-admin.py | 
|---|---|
| Triage Stage: | Unreviewed → Accepted | 
by , 15 years ago
| Attachment: | 14419.patch added | 
|---|
comment:2 by , 15 years ago
| Has patch: | set | 
|---|
comment:3 by , 15 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    
(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.