From 91947bca740761eac4b7a95777eee48844274f91 Mon Sep 17 00:00:00 2001 From: Ritiek Malhotra Date: Fri, 2 Jun 2017 13:42:22 +0530 Subject: [PATCH] Fix description in --help message --- spotdl.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/spotdl.py b/spotdl.py index 50aa64e..9b60d2f 100644 --- a/spotdl.py +++ b/spotdl.py @@ -339,22 +339,21 @@ def grabList(file): def getArgs(argv=None): - parser = argparse.ArgumentParser(description='Find and convert songs \ + parser = argparse.ArgumentParser(description='Download and convert songs \ from Spotify, Youtube etc.', formatter_class=argparse.ArgumentDefaultsHelpFormatter) - parser = argparse.ArgumentParser() parser.add_argument('-n', '--no-convert', default=False, - help='Skip the conversion process and meta-tags', action='store_true') + help='skip the conversion process and meta-tags', action='store_true') parser.add_argument('-m', '--manual', default=False, - help='Choose the song to download manually', action='store_true') + help='choose the song to download manually', action='store_true') parser.add_argument('-l', '--list', default=False, - help='Download songs present in list.txt', action='store_true') + help='download songs present in list.txt', action='store_true') parser.add_argument('-q', '--quiet', default=False, - help='Spare us output of ffmpeg conversion', action='store_true') + help='spare us output of ffmpeg conversion', action='store_true') parser.add_argument('-i', '--input_ext', default='.m4a', - help='Prefered input format .m4a or .webm (Opus)') + help='prefered input format .m4a or .webm (Opus)') parser.add_argument('-o', '--output_ext', default='.mp3', - help='Prefered output extension .mp3 or .m4a (AAC)') + help='prefered output extension .mp3 or .m4a (AAC)') return parser.parse_args(argv)