commit afa67f40aee40af1dc57d005359a26ea0bc37b8f
parent dfa1dd7fd020b1e143a9ffa47c78e1d61bfcc0c3
Author: solderpunk <solderpunk@sdf.org>
Date: Sat, 13 Jun 2020 09:16:09 -0400
Merge pull request 'Standardize abbrevs formatting' (#19) from vee/AV-98:vee/abbrevs-formatting into master
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/av98.py b/av98.py
@@ -1133,12 +1133,13 @@ Slow internet connection? Use 'set timeout' to be more patient.""")
def do_abbrevs(self, *args):
"""Print all AV-98 command abbreviations."""
- header = "Command Abbreviations"
- self.stdout.write("{}\n".format(str(header)))
+ header = "Command Abbreviations:"
+ self.stdout.write("\n{}\n".format(str(header)))
if self.ruler:
self.stdout.write("{}\n".format(str(self.ruler * len(header))))
for k, v in _ABBREVS.items():
self.stdout.write("{:<7} {}\n".format(k, v))
+ self.stdout.write("\n")
### Stuff for getting around
def do_go(self, line):