From fb3bedfeb12cc591c63c9b00816c427b9066c6e5 Mon Sep 17 00:00:00 2001 From: Jonathan Grizou Date: Sun, 7 Jul 2013 00:25:32 +0200 Subject: [PATCH] Delete remaining or header argument. --- papers/plugs/texnote/texnote.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/papers/plugs/texnote/texnote.py b/papers/plugs/texnote/texnote.py index aba0ae7..846e37d 100644 --- a/papers/plugs/texnote/texnote.py +++ b/papers/plugs/texnote/texnote.py @@ -64,8 +64,6 @@ class TexnotePlugin(PapersPlugin): help='edit the main body', default=None) p.add_argument('-S', '--style', action='store_true', help='open the style', default=None) - p.add_argument('-H', '--header', action='store_true', - help='open the header', default=None) return parser def command(self, args): @@ -134,7 +132,7 @@ class TexnotePlugin(PapersPlugin): citekey = parse_reference(rp, reference) files.edit_file(with_command, self.get_texfile(citekey), temporary=False) - def edit_template(self, body=None, style=None, header=None, with_command=None): + def edit_template(self, body=None, style=None, with_command=None): if with_command is None: with_command = self.get_edit_cmd() if body is not None: