Upping version

This commit is contained in:
Michael Lazar
2017-12-30 20:15:15 -05:00
parent 9eb1bde2e7
commit 5f365b8085
9 changed files with 62 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
__version__ = '1.20.0'
__version__ = '1.21.0'

View File

@@ -34,6 +34,7 @@ def build_parser():
parser = argparse.ArgumentParser(
prog='rtv', description=docs.SUMMARY,
epilog=docs.CONTROLS,
usage=docs.USAGE,
formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument(
'link', metavar='URL', nargs='?',

View File

@@ -7,7 +7,14 @@ desktop:https://github.com/michael-lazar/rtv:{version}\
"""
SUMMARY = """
Reddit Terminal Viewer is a lightweight browser for https://www.reddit.com
RTV (Reddit Terminal Viewer) is a terminal interface to view and interact with reddit.
"""
USAGE = """\
rtv [URL] [-s SUBREDDIT]
$ rtv https://www.reddit.com/r/programming/comments/7h9l31
$ rtv -s linux
"""
CONTROLS = """