Fighting with mailcap

This commit is contained in:
Michael Lazar
2016-07-08 23:51:42 -07:00
parent 06ac572b20
commit 1d8c555c27
5 changed files with 60 additions and 4 deletions

View File

@@ -59,6 +59,9 @@ def build_parser():
parser.add_argument(
'--copy-config', dest='copy_config', action='store_const', const=True,
help='Copy the default configuration to {HOME}/.config/rtv/rtv.cfg')
parser.add_argument(
'--enable-media', dest='enable_media', action='store_const', const=True,
help='Open external links using programs defined in the mailcap config')
return parser