From 1e26280da7069876d069111679e8be28eff87896 Mon Sep 17 00:00:00 2001 From: Chris Lane Date: Mon, 19 Aug 2013 21:35:51 -0400 Subject: [PATCH] Added some comments to the cheat file. --- cheat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cheat b/cheat index 1017b14..e49c0ce 100755 --- a/cheat +++ b/cheat @@ -2,6 +2,7 @@ import os import sys +# assembles a list of directories containing cheatsheets def cheat_directories(): default_directories = [os.path.expanduser('~/.cheat')] try: @@ -17,6 +18,7 @@ def cheat_directories(): else: return default +# assembles a dictionary of cheatsheets found in the above directories def cheat_files(cheat_directories): cheats = {} for cheat_dir in reversed(cheat_directories):