From f39fc9cce4980622bb2e314d8309e39aee39fbd4 Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Thu, 12 Feb 2015 23:39:31 -0800 Subject: [PATCH] Minor doc edits. --- README.rst | 4 ++-- main.py | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 3143981..bb12265 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ ====================== Reddit Terminal Viewer ====================== -**Reddit Terminal Viewer (RTV)** is a python application that enables browsing content from Reddit (www.reddit.com) on a terminal window. +**Reddit Terminal Viewer (RTV)** is a python application that enables browsing content from Reddit (www.reddit.com) in a terminal window. RTV utilizes the **curses** library and is compatible with a large range of terminals. ------------ @@ -43,6 +43,6 @@ Controls :``Up/Down``: move cursor :``Left``: return to subreddit -:``Right`` or ``Enter``: Toggle the selected comment and its children between hidden and visible +:``Right`` or ``Enter``: toggle the selected comment and its children between hidden and visible :``q``: quit :``r`` or ``F5``: refresh diff --git a/main.py b/main.py index 19073d8..6248540 100644 --- a/main.py +++ b/main.py @@ -9,7 +9,11 @@ from rtv.submission import SubmissionPage def main(): - parser = argparse.ArgumentParser(description='Reddit Terminal Viewer') + description = ( + "Reddit Terminal Viewer (RTV) is a python application that enables " + "browsing content from Reddit (www.reddit.com) in a terminal window.") + + parser = argparse.ArgumentParser(prog='rtv', description=description) parser.add_argument('-s', dest='subreddit', default='front', help='subreddit name') parser.add_argument('-l', dest='link', help='full link to a submission') group = parser.add_argument_group('authentication (optional)')