Skip to content

Commit

Permalink
Replace config_file with config
Browse files Browse the repository at this point in the history
  • Loading branch information
dplocki committed Mar 14, 2024
1 parent 9938d4c commit 02a46f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ The script accept following command line arguments:

| Short version | Long name | Parameter | Default | Note |
|:--------------|:-----------------------|:-------------------:|:-----------------------------------:|:-----|
| | `--config_file` | string | `~/.podcast_downloader_config.json` | The placement of the configuration file |
| | `--config` | 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 |

Expand Down
2 changes: 1 addition & 1 deletion podcast_downloader/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def build_parser() -> argparse.ArgumentParser:
)

parser.add_argument(
"--config_file",
"--config",
required=False,
type=open,
help="The path to configuration file",
Expand Down

0 comments on commit 02a46f4

Please sign in to comment.