Minor doc edits.
This commit is contained in:
@@ -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
|
||||
|
||||
6
main.py
6
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)')
|
||||
|
||||
Reference in New Issue
Block a user