aboutsummaryrefslogtreecommitdiff
path: root/src/cli.rs
AgeCommit message (Collapse)Author
2018-07-01Update manpage to document all CLI optionsChristian Duerr
The introduction of `--class` has added a flag to the CLI without adding it to the manpage. This has been fixed by updating the manpage. This also adds the default values of `--class` and `--title` to the CLI options.
2018-06-18Override dynamic_title when --title is specifiedNathan Lilienthal
2018-06-07Add working --class and --title CLI parametersTezkerek
2018-01-26Update dependenciesgolem131
Updated the version of some dependencies. This also changes to a new clippy version so clippy can work with the latest nightly compiler again. Some issues created by new lints have been fixed.
2017-12-22Remove built crateJoe Wilm
This became a support burden for me due to various compile and run time issues.
2017-12-03clippy: string constants do not need to have static lifetime ↵Matthias Krüger
(const_static_lifetime).
2017-11-11Output more info for `--version` (#888)hcpl
Useful when requesting more info to help investigating issues.
2017-11-11Style fixesJoe Wilm
2017-11-11Don't enforce window dimensions if configured with 0 columns or linesBryan Gilbert
2017-09-27Use clippy = "*", update, and fix some warnings (#796)Aaron Hill
Because there are so many clippy warnings in the current codebase, this commit removes '#![cfg_attr(feature = "clippy", deny(clippy))]', to make it easier to fix warnings incrementally.
2017-08-29Change CLI live-config-reload options into flagsJoe Wilm
The previous format of --live-config-reload=VAL had a specific set of allowed values which may not immediately be obvious. Instead, there are now two flags which control the behavior: --live-config-reload --no-live-config-reload If a user tries to specify both, the option parsing will fail with this message: error: The argument '--no-live-config-reload' cannot be used with '--live-config-reload'
2017-08-29Implement options to not start the config_monitor thread (#689)Liu Wei
Provide a command line option as well as a configuration file option. The command line option takes precedence.
2017-07-08Add a long option for the command flag (-e) (#655)polyfloyd
2017-05-28Add config file as cli option (#576)Niklas Claesson
* 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.
2017-04-18Add CLI arg for setting working directoryZach Day
Resolves #478.
2017-04-03Do not replace $SHELL with --command optionJustin Charette
Signed-off-by: Justin Charette <charetjc@gmail.com>
2017-02-06Configurable window dimensionsAnders Rasmussen
Adds a configuration option `dimensions` which will set initial window size by columns and lines. Changes to the config file will require restart. resolves #370
2017-01-28Add support for -e argumentNiklas Claesson
2017-01-24Use clap as cli parser.Kurnevsky Evgeny
2017-01-23Use the log-crate instead of printing to stdoutLukas Lueg
2017-01-08print glutin events if --print-events is passedTom Crayford
When debugging many issues, it's often very helpful to have the raw glutin events printed out to stderr as they come in. This does that. Note that since `glutin::Event` doesn't implement `Display`, we just use rust's debugging output for now via `{:?}`.
2017-01-06Added --title argument to set window titleRudis Muiznieks
2016-12-11Display manages window, renderer, rasterizerJoe Wilm
This is part of an ongoing decoupling effort across the codebase and tidying effort in main.rs. Everything to do with showing the window with a grid of characters is now managed by the `Display` type. It owns the window, the font rasterizer, and the renderer. The only info needed from it are dimensions of characters and the window itself for sizing the terminal properly. Additionally, the I/O loop has access to wake it up when new data arrives.
2016-12-11Cleanup cli option parsingJoe Wilm
This introduces the `cli` module and the `cli::Options` type. This type holds all the options passable on the command line in addition to providing arg parsing.