diff --git a/ChangeLog b/ChangeLog index b31f11d..8c11acc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-05-31 Thomas Vander Stichele + + * morituri/rip/cd.py: + Use %default in options description. + 2011-05-31 Thomas Vander Stichele * morituri/rip/cd.py: diff --git a/morituri/rip/cd.py b/morituri/rip/cd.py index 9768401..2c9be7f 100644 --- a/morituri/rip/cd.py +++ b/morituri/rip/cd.py @@ -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'