-
Notifications
You must be signed in to change notification settings - Fork 481
Using --help with passed config fails #1372
Copy link
Copy link
Closed
Labels
Description
Expected behaviour:
$ flexget execute --help
usage: flexget execute [-h] [--tasks TASK [TASK ...]] [--learn] [--no-cache]
etc...
Should read the config that is passed as an argument (or better ignore it, as I don't think it has any uses)
--help argument should have shown help. Similar problems most likely happen with other arguments.
Actual behaviour:
Reports: "Failed to find configuration file config.yml"
Steps to reproduce:
- Step 1: Create a config with another naming than config.yml -->
~/.flexget$ ls
autodl.yml - Step 2: flexget -c autodl.yml execute --help
Config:
Any config will do
Log:
~/.flexget$ flexget -c autodl.yml execute --help
2016-08-26 18:18 CRITICAL manager Failed to find configuration file config.yml
2016-08-26 18:18 INFO manager Tried to read from: ~/.flexget, /home/ammin/.flexget, /home/ammin/.config/flexget
Could not instantiate manager: No configuration file found.
Additional information:
- Flexget Version: 2.3.3
- Python Version: Python 2.7.12
- Installation method: pip
- OS and version: Ubuntu 16.04.1 LTS
- Link to crash log: NA
Reactions are currently unavailable