Made Changes as per comments on PR

removed the unnecessary comma and space at the end!
 put the closing bracket on the previous line, as it's done with all the other parser.add_argument calls.
remove the pass - it's completely unneccesary.
This commit is contained in:
Nitesh Sawant
2018-02-04 22:36:04 +05:30
parent 8550abd06a
commit 0e3249646f
2 changed files with 12 additions and 6 deletions

View File

@@ -140,6 +140,8 @@ optional arguments:
(default: False)
-ll {INFO,WARNING,ERROR,DEBUG}, --log-level {INFO,WARNING,ERROR,DEBUG}
set log verbosity (default: INFO)
-c CONFIG_FILE_PATH --config CONFIG_FILE_PATH
path to custom config.yml file
```
#### Download by Name
@@ -261,6 +263,11 @@ to override any default options.
Also note that config options are overridden by command-line arguments.
#### Specify the Custom Config File Path
If you want to use custom `config.yml` instead of default one, you can use `-c`/`--config` option.
E.g. `$ python3 spotdl.py -s "adele hello" -c "/home/user/customConfig.yml"`
## [Docker Image](https://hub.docker.com/r/ritiek/spotify-downloader/)
[![Docker automated build](https://img.shields.io/docker/automated/jrottenberg/ffmpeg.svg)](https://hub.docker.com/r/ritiek/spotify-downloader)
[![Docker pulls](https://img.shields.io/docker/pulls/ritiek/spotify-downloader.svg)](https://hub.docker.com/r/ritiek/spotify-downloader)