Added verbose mode

This commit is contained in:
Ali Parlakci
2018-07-25 13:40:06 +03:00
parent e6b648d8b3
commit 837281c3c6
4 changed files with 50 additions and 28 deletions

View File

@@ -62,7 +62,7 @@ def parseArguments(arguments=[]):
description="This program downloads " \
"media from reddit " \
"posts")
parser.add_argument("--directory",
parser.add_argument("--directory","-d",
help="Specifies the directory where posts will be " \
"downloaded to",
metavar="DIRECTORY")
@@ -144,6 +144,11 @@ def parseArguments(arguments=[]):
action="store_true",
default=False)
parser.add_argument("--verbose","-v",
help="Verbose Mode",
action="store_true",
default=False)
if arguments == []:
return parser.parse_args()