From 6d6c224787d4f18728f4ddd32880a434df4618e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20P=C5=82ocki?= Date: Mon, 11 Mar 2024 23:20:16 +0100 Subject: [PATCH] README: Add info about new paramater: config_file --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0429533..71512c6 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,8 @@ The configuration file is placed in home directory. The name: `.podcast_downloader_config.json`. The file is format in [JSON](https://en.wikipedia.org/wiki/JSON). The expected encoding is [utf-8](https://en.wikipedia.org/wiki/UTF-8). +The configuration file placement can be specified by [script argument](#script-arguments). + ### An example of configuration file ```json @@ -145,10 +147,11 @@ Example: The script accept following command line arguments: -| Short version | Long name | Parameter | Default | Note | -|:--------------|:-----------------------|:-------------------:|:---------------:|:-----| -| | `--downloads_limit` | number | infinity | The maximum number of downloaded mp3 files | -| | `--if_directory_empty` | string | `download_last` | The general approach on empty directory | +| Short version | Long name | Parameter | Default | Note | +|:--------------|:-----------------------|:-------------------:|:-----------------------------------:|:-----| +| | `--config_file` | string | `~/.podcast_downloader_config.json` | The placement of the configuration file | +| | `--downloads_limit` | number | infinity | The maximum number of downloaded mp3 files | +| | `--if_directory_empty` | string | `download_last` | The general approach on empty directory | ## Adding date to file name