Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify language: "in front of" → "before" #967

Merged
merged 1 commit into from
Feb 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ pub struct Opt {
default_value = "added:",
value_name = "STRING"
)]
/// Text to display in front of an added file path.
/// Text to display before an added file path.
///
/// Used in the default value of navigate-regex.
pub file_added_label: String,
Expand All @@ -347,7 +347,7 @@ pub struct Opt {
default_value = "copied:",
value_name = "STRING"
)]
/// Text to display in front of a copied file path.
/// Text to display before a copied file path.
pub file_copied_label: String,

#[clap(
Expand All @@ -366,7 +366,7 @@ pub struct Opt {
default_value = "",
value_name = "STRING"
)]
/// Text to display in front of a modified file path.
/// Text to display before a modified file path.
///
/// Used in the default value of navigate-regex.
pub file_modified_label: String,
Expand All @@ -376,7 +376,7 @@ pub struct Opt {
default_value = "removed:",
value_name = "STRING"
)]
/// Text to display in front of a removed file path.
/// Text to display before a removed file path.
///
/// Used in the default value of navigate-regex.
pub file_removed_label: String,
Expand All @@ -386,7 +386,7 @@ pub struct Opt {
default_value = "renamed:",
value_name = "STRING"
)]
/// Text to display in front of a renamed file path.
/// Text to display before a renamed file path.
///
/// Used in the default value of navigate-regex.
pub file_renamed_label: String,
Expand Down Expand Up @@ -489,7 +489,7 @@ pub struct Opt {
pub hunk_header_style: String,

#[clap(long = "hunk-label", default_value = "", value_name = "STRING")]
/// Text to display in front of a hunk header.
/// Text to display before a hunk header.
///
/// Used in the default value of navigate-regex.
pub hunk_label: String,
Expand Down Expand Up @@ -1029,7 +1029,7 @@ pub struct Opt {
)]
/// Pre-wrapped content symbol (right-aligned).
///
/// Symbol displayed in front of right-aligned wrapped content.
/// Symbol displayed before right-aligned wrapped content.
pub wrap_right_prefix_symbol: String,

#[clap(long = "wrap-right-symbol", default_value = "↴", value_name = "STRING")]
Expand Down