diff options
author | Niklas Claesson <nicke.claesson@gmail.com> | 2017-05-29 02:42:36 +0200 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-05-28 17:42:36 -0700 |
commit | 81116fb8a4f91f28b5751827e7bcda22f6fcbaf0 (patch) | |
tree | b9b446b5f8ed18c31189eb45f24f02ffe767657f /src/term/mod.rs | |
parent | 13eac6b673a089afe6f15adb73d6812916c73f73 (diff) | |
download | alacritty-81116fb8a4f91f28b5751827e7bcda22f6fcbaf0.tar.gz alacritty-81116fb8a4f91f28b5751827e7bcda22f6fcbaf0.zip |
Add config file as cli option (#576)
* Parse cli arguments before configuration file
Parsing the cli arguments before the configuration file allows `--help`
and `--version` to be used even if the configuration file is broken.
* Add configuration file to command line arguments
This commit adds a new command line flag `--config-file` to override the default
configuration file location. If the specified file is unavailable,
Alacritty will quit instead of generating a fallback. If the specified
file is invalid, i.e. /dev/null, the compiled in defaults will be loaded
instead.
Diffstat (limited to 'src/term/mod.rs')
0 files changed, 0 insertions, 0 deletions