Commits

Jason R. Coombs committed ccd5b4f

Added command-line entry points for rss module

Comments (0)

Files changed (2)

jaraco/net/rss.py

 
 def _parse_args(parser=None):
 	parser = parser or argparse.ArgumentParser()
-	parser.add_argument('-u', '--url', n_args=1)
+	parser.add_argument('-u', '--url', nargs=1)
 	#parser.add_argument('-r', '--reverse', help="show in reverse order")
 	parser.add_argument('-f', '--date-filter',
 		help="add a date filter such as 'before 2006'", default=[],
 			'build-dir-index = jaraco.net.site:make_index_cmd',
 			'content-type-reporter = jaraco.net.http.content:ContentTypeReporter.run',
 			'web-tail = jaraco.net.tail:handle_command_line',
+			'rss-launch = jaraco.net.rss:launch_feed_enclosure',
+			'rss-download = jaraco.net.rss:download_enclosures',
 			] + windows_scripts,
 	},
 	install_requires=[