urlwatch moans when supplying --config
neofright opened this issue · 1 comments
# /usr/bin/urlwatch --config /path/to/urls.yaml
You need to create /root/.config/urlwatch/urls.yaml in order to use urlwatch.
Use "urlwatch --edit" to open the file with your editor.
I don't think this warning should be displayed when you specify --config
as it would imply that the user is aware they are using a non-default configuration file? In my case I am specifically avoiding using the default config file and it seems odd that it throws this warning/error to me.
I've solved it by just doing echo "" > /root/.config/urlwatch/urls.yaml
but it seems unneccessary.
PEBKAC.
I had misunderstood the --config
switch and mistakenly believed it was the equivalent of --urls
.
I was trying to do /usr/bin/urlwatch --urls=/path/to/urls.yaml
(which works correctly) and urlwatch was rightly complaining that there was no config file (a different file to urls.yaml
)
Closing as nothing needs to be done.