Skip to content

Commit aff2885

Browse files
committed
docs: Normalize quoting for git commands
1 parent 1703314 commit aff2885

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/argset.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ pub(crate) fn diff_opts_arg() -> Arg {
4040
.long("diff-opt")
4141
.alias("diff-opts")
4242
.short('O')
43-
.help("Pass additional <option> to \"git diff\"")
43+
.help("Pass additional <option> to `git diff`")
4444
.long_help(
45-
"Pass additional <option> to \"git diff\".\n\
45+
"Pass additional <option> to `git diff`.\n\
4646
\n\
4747
See the git-diff(1) man page. This option may be specified multiple \
4848
times.",

src/cmd/email/format.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ pub(super) fn command() -> clap::Command {
7171
Arg::new("git-format-patch-opt")
7272
.long("git-opt")
7373
.short('G')
74-
.help("Pass additional <option> to \"git format-patch\"")
74+
.help("Pass additional <option> to `git format-patch`")
7575
.long_help(
76-
"Pass additional <option> to \"git format-patch\".\n\
76+
"Pass additional <option> to `git format-patch`.\n\
7777
\n\
7878
See the git-format-patch(1) man page. This option may be \
7979
specified multiple times.",

src/cmd/email/send.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ pub(super) fn command() -> clap::Command {
7878
Arg::new("git-send-email-opt")
7979
.long("git-opt")
8080
.short('G')
81-
.help("Pass additional <option> to \"git send-email\"")
81+
.help("Pass additional <option> to `git send-email`")
8282
.long_help(
83-
"Pass additional <option> to \"git send-email\".\n\
83+
"Pass additional <option> to `git send-email`.\n\
8484
\n\
8585
See the git-send-email(1) man page. This option may be specified \
8686
multiple times.",
@@ -111,7 +111,7 @@ fn compose_options() -> Vec<Arg> {
111111
If neither the command-line option nor sendemail.from are set, then \
112112
the user will be prompted for the value. The default for the prompt \
113113
will be the value of GIT_AUTHOR_IDENT, or GIT_COMMITTER_IDENT if that \
114-
is not set, as returned by \"git var -l\".",
114+
is not set, as returned by `git var -l`.",
115115
)
116116
.value_name("address")
117117
.num_args(1)

0 commit comments

Comments
 (0)