* morituri/rip/cd.py:

Use %default in options description.
This commit is contained in:
Thomas Vander Stichele
2011-05-31 08:27:44 +00:00
parent 0157c084a1
commit bdbd7768eb
2 changed files with 7 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
2011-05-31 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/rip/cd.py:
Use %default in options description.
2011-05-31 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/rip/cd.py:

View File

@@ -74,13 +74,11 @@ filling in the variables and expanding the file extension. Variables are:
# FIXME: get from config
self.parser.add_option('', '--track-template',
action="store", dest="track_template",
help="template for track file naming (default %s)" %
DEFAULT_TRACK_TEMPLATE,
help="template for track file naming (default %default)",
default=DEFAULT_TRACK_TEMPLATE)
self.parser.add_option('', '--disc-template',
action="store", dest="disc_template",
help="template for disc file naming (default %s)" %
DEFAULT_DISC_TEMPLATE,
help="template for disc file naming (default %default)",
default=DEFAULT_DISC_TEMPLATE)
default = 'flac'