From d87d6adfa6002d664327681b9c92ef5c56db6ca4 Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Tue, 13 Aug 2019 10:41:27 +0200 Subject: [PATCH] Add doc strings --- jan-pona-mute.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jan-pona-mute.py b/jan-pona-mute.py index 9802d72..53b11e7 100755 --- a/jan-pona-mute.py +++ b/jan-pona-mute.py @@ -84,6 +84,7 @@ class DiasporaClient(cmd.Cmd): return self.users[guid] def do_intro(self, line): + """Start here.""" print(""" Use the account and password commands to set up your connection, then use the login command to log in. If everything works as intended, use @@ -116,6 +117,7 @@ select the corresponding item. Use the print command to see more. print("Password %s" % ("unset" if self.password == "" else "set")) def do_save(self, line): + """Save your login information to the init file.""" if self.username == None or self.pod == None: print("Use the account command to set username and pod") elif self.password == None: -- 2.25.1