From 7f13cf23f384108e8d08aba6d9751c28d46c0416 Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Mon, 19 Aug 2019 14:09:18 +0200 Subject: [PATCH] Improve doc strings --- jan-pona-mute.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jan-pona-mute.py b/jan-pona-mute.py index 3e580dd..10430ef 100755 --- a/jan-pona-mute.py +++ b/jan-pona-mute.py @@ -245,12 +245,15 @@ enter a number to select the corresponding item. print("Login failed.") def do_pager(self, pager): - """Set the pager, e.g. to cat""" + """Set the pager, e.g. to 'fold -w 72'. +The command line can contain options and arguments.""" self.pager = pager print("Pager set: %s" % self.pager) def do_editor(self, editor): - """Set the editor, e.g. to ed""" + """Set the editor, e.g. to ed. +The command line can contain options and arguments. +The filename is appended at the end.""" self.editor = editor print("Editor set: %s" % self.editor) -- 2.25.1