Removed copy of __main__.py, changed flag from -a to --force-ascii
This commit is contained in:
@@ -1,7 +0,0 @@
|
|||||||
# Entry point for rtv module
|
|
||||||
# Run by moving into the top level directory (the one with setup.py)
|
|
||||||
# and typing "python -m rtv"
|
|
||||||
|
|
||||||
from rtv.main import main
|
|
||||||
|
|
||||||
main()
|
|
||||||
@@ -36,7 +36,7 @@ def main():
|
|||||||
formatter_class=argparse.RawDescriptionHelpFormatter)
|
formatter_class=argparse.RawDescriptionHelpFormatter)
|
||||||
parser.add_argument('-s', dest='subreddit', help='subreddit name')
|
parser.add_argument('-s', dest='subreddit', help='subreddit name')
|
||||||
parser.add_argument('-l', dest='link', help='full link to a submission')
|
parser.add_argument('-l', dest='link', help='full link to a submission')
|
||||||
parser.add_argument('-a', dest='force_ascii',
|
parser.add_argument('--force-ascii', dest='force_ascii',
|
||||||
help='forces ascii (disables unicode)', action='store_true')
|
help='forces ascii (disables unicode)', action='store_true')
|
||||||
|
|
||||||
group = parser.add_argument_group(
|
group = parser.add_argument_group(
|
||||||
|
|||||||
Reference in New Issue
Block a user