diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-05-05 22:50:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-05 22:50:23 +0000 |
commit | 81ce93574f62d4b117fdd79af65391f30316a457 (patch) | |
tree | 951a0578860c6028e2dfff0ca83879001c6b2385 /alacritty/src/cli.rs | |
parent | 04f0bcaf54ed373128ca0f84ee8fcdd8e52bce23 (diff) | |
download | r-alacritty-81ce93574f62d4b117fdd79af65391f30316a457.tar.gz r-alacritty-81ce93574f62d4b117fdd79af65391f30316a457.tar.bz2 r-alacritty-81ce93574f62d4b117fdd79af65391f30316a457.zip |
Extend style guideline documentation
Diffstat (limited to 'alacritty/src/cli.rs')
-rw-r--r-- | alacritty/src/cli.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alacritty/src/cli.rs b/alacritty/src/cli.rs index 2137c9c8..5f6b7804 100644 --- a/alacritty/src/cli.rs +++ b/alacritty/src/cli.rs @@ -30,7 +30,7 @@ const CONFIG_PATH: &str = "%APPDATA%\\alacritty\\alacritty.yml"; #[cfg(target_os = "macos")] const CONFIG_PATH: &str = "$HOME/.config/alacritty/alacritty.yml"; -/// Options specified on the command line +/// Options specified on the command line. pub struct Options { pub live_config_reload: Option<bool>, pub print_events: bool, @@ -241,8 +241,8 @@ impl Options { if let Some(mut args) = matches.values_of("command") { // The following unwrap is guaranteed to succeed. - // If 'command' exists it must also have a first item since - // Arg::min_values(1) is set. + // If `command` exists it must also have a first item since + // `Arg::min_values(1)` is set. let command = String::from(args.next().unwrap()); let args = args.map(String::from).collect(); options.command = Some(Shell::new_with_args(command, args)); |