Minor doc edits.

This commit is contained in:
Michael Lazar
2015-02-12 23:39:31 -08:00
parent c60beef521
commit f39fc9cce4
2 changed files with 7 additions and 3 deletions

View File

@@ -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

View File

@@ -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)')