“error opening config file” is not an error #2
Closed
opened 4 years ago by Ghost
·
1 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
How to reproduce: Create
~/.config/hkd/config
and runhkd
.“error opening config file” gets printed although
hkd
works fine. A better message would be: “info: environment variable $XDG_CONFIG_HOME not set: falling back to ~/.config.” However, it would be even better to follow the rule of silence and print no message.you're right, I didn't know about the rule of silence before and the "error" messages are not useful apart from debugging.
I made it so that all the messages are disabled by default and -v turns them back on.