X-Git-Url: https://git.madduck.net/code/mailplate.git/blobdiff_plain/70a4199b87bc3f0e2dc3c974dbe26bdd50201079..27ca9e642e5f289e874095eb0217dd14c2c902ef:/mailplate diff --git a/mailplate b/mailplate index d6dbc80..4d0b28c 100755 --- a/mailplate +++ b/mailplate @@ -224,7 +224,7 @@ TPATH = os.path.expanduser(config['template_path']) ### parser = OptionParser() -parser.usage = 'Usage: $prog [options] ' +parser.usage = '%prog [options] ' parser.add_option('-a', '--auto', dest='auto', default=False, action='store_true', help='turn on template auto-discovery') @@ -295,7 +295,7 @@ if infname is not None: # read message into buffer, or preinitialise the buffer if --new is given if options.new: - rawmsg = '\n'.join((header + ': ' for k in STD_HEADERS)) + '\n' + rawmsg = '\n'.join((header + ': ' for header in STD_HEADERS)) + '\n' else: rawmsg = ''.join(inf.readlines())