Code

Opened 6 years ago

Closed 6 years ago

#6624 closed (wontfix)

Small improvements to django/bin/make-messages.py

Reported by: toxik Owned by: nobody
Component: Internationalization Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Patch adds a -h to get the help (struck me as odd that it didn't have one, so I added it), and moves the usage message to its own function (_print_usage), I also took the liberty of updating how the message is printed. See the patch for what (it's a small one.)

Attachments (1)

django-make-messages-improve.diff (1.6 KB) - added by toxik 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by toxik

comment:1 Changed 6 years ago by telenieko

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Uhm.. "-h" would be nice to have :)

comment:2 Changed 6 years ago by mtredinnick

  • Resolution set to wontfix
  • Status changed from new to closed

The option parsing in there is getting pretty messy

Let's wait until I merge this into management.py, since that will give us the options automatically (including an automatic help message). So I'm going this as wontfix because it will be more or less automatically fixed by the reorganisation. (You're right, though, we should have a help option.)

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.