@@ -24,7 +24,7 @@ pub(super) fn command() -> clap::Command {
24
24
email's body.\n \
25
25
\n \
26
26
The patches to format may be specified as individual patch names or patch \
27
- ranges of the form 'p0..p3', or --all may be used to format all applied \
27
+ ranges of the form 'p0..p3', or ' --all' may be used to format all applied \
28
28
patches. Note that the specified patches must be contiguous within the \
29
29
patch series.\n \
30
30
\n \
@@ -34,13 +34,13 @@ pub(super) fn command() -> clap::Command {
34
34
all the email files individually.\n \
35
35
\n \
36
36
A cover letter template may also be generated by specifying \
37
- --cover-letter. A cover letter is recommended when sending multiple \
37
+ ' --cover-letter' . A cover letter is recommended when sending multiple \
38
38
patches. The `format.coverLetter` configuration value may be set true to \
39
39
always generate a cover letter or 'auto' to generate a cover letter when \
40
40
formatting more than one patch.\n \
41
41
\n \
42
- Recipients may be specified using the --to and --cc, or setting recipients \
43
- may be deferred to `stg email send`.\n \
42
+ Recipients may be specified using the ' --to' and ' --cc' , or setting \
43
+ recipients may be deferred to `stg email send`.\n \
44
44
\n \
45
45
Many aspects of the format behavior may be controlled via `format.*` \
46
46
configuration values. Refer to the git-config(1) and git-format-patch(1) \
@@ -136,11 +136,11 @@ fn format_options() -> Vec<Arg> {
136
136
"Mark the series as the <n>-th iteration of the topic. The output \
137
137
filenames have \" v<n>\" prepended to them, and the subject prefix \
138
138
(\" PATCH\" by default, but configurable via the --subject-prefix \
139
- option) has ` v<N>` appended to it. E.g. --reroll-count=4 may produce \
140
- v4-0001-add-makefile.patch file that has \" Subject: [PATCH v4 1/20] \
141
- Add makefile\" in it. <N> does not have to be an integer (e.g. \
142
- \" --reroll-count=4.4\" , or \" --reroll-count=4rev2\" are allowed), but \
143
- the downside of using such a reroll-count is that the \
139
+ option) has ` v<N>` appended to it. E.g. ' --reroll-count=4' may \
140
+ produce v4-0001-add-makefile.patch file that has \" Subject: [PATCH v4
141
+ 1/20] Add makefile\" in it. <N> does not have to be an integer (e.g. \
142
+ ' --reroll-count=4.4' , or ' --reroll-count=4rev2' are allowed), but the \
143
+ downside of using such a reroll-count is that the \
144
144
range-diff/interdiff with the previous version does not state exactly \
145
145
which version the new interation is compared against.",
146
146
)
@@ -150,7 +150,7 @@ fn format_options() -> Vec<Arg> {
150
150
. long( "rfc" )
151
151
. help( "Use [RFC PATCH] instead of [PATCH]" )
152
152
. long_help(
153
- "Alias for --subject-prefix=\" RFC PATCH\" . RFC means \" Request For \
153
+ "Alias for ' --subject-prefix=\" RFC PATCH\" ' . RFC means \" Request For \
154
154
Comments\" ; use this when sending an experimental patch for \
155
155
discussion rather than application.",
156
156
)
@@ -161,7 +161,7 @@ fn format_options() -> Vec<Arg> {
161
161
. long_help(
162
162
"Instead of the standard `[PATCH]` prefix in the subject line, instead \
163
163
use `[<prefix>]`. This allows for useful naming of a patch series, \
164
- and can be combined with the ` --numbered` option.",
164
+ and can be combined with the ' --numbered' option.",
165
165
)
166
166
. value_name( "prefix" )
167
167
. num_args( 1 ) ,
@@ -192,7 +192,7 @@ fn format_options() -> Vec<Arg> {
192
192
. help( "Use <suffix> instead of '.patch'" )
193
193
. long_help(
194
194
"Instead of using `.patch` as the suffix for generated filenames, use \
195
- specified suffix. A common alternative is ` --suffix=.txt` . Leaving \
195
+ specified suffix. A common alternative is ' --suffix=.txt' . Leaving \
196
196
this empty will remove the `.patch` suffix.",
197
197
)
198
198
. value_name( "suffix" )
@@ -239,7 +239,7 @@ fn message_options() -> Vec<Arg> {
239
239
. long_help(
240
240
"Add a `To:` header to the email headers. This is in addition to any \
241
241
configured headers, and may be used multiple times. The negated form \
242
- ` --no-to` discards all `To:` headers added so far (from config or \
242
+ ' --no-to' discards all `To:` headers added so far (from config or \
243
243
command line).",
244
244
)
245
245
. value_name( "address" )
@@ -258,7 +258,7 @@ fn message_options() -> Vec<Arg> {
258
258
. long_help(
259
259
"Add a `Cc:` header to the email headers. This is in addition to any \
260
260
configured headers, and may be used multiple times. The negated form \
261
- ` --no-cc` discards all `Cc:` headers added so far (from config or \
261
+ ' --no-cc' discards all `Cc:` headers added so far (from config or \
262
262
command line).",
263
263
)
264
264
. value_name( "address" )
@@ -275,7 +275,7 @@ fn message_options() -> Vec<Arg> {
275
275
. long( "in-reply-to" )
276
276
. help( "Make first mail a reply to <message-id>" )
277
277
. long_help(
278
- "Make the first mail (or all the mails with ` --no-thread` ) appear as a \
278
+ "Make the first mail (or all the mails with ' --no-thread' ) appear as a \
279
279
reply to the given <message-id>, which avoids breaking threads to \
280
280
provide a new patch series.",
281
281
)
@@ -288,8 +288,8 @@ fn message_options() -> Vec<Arg> {
288
288
. long_help(
289
289
"Add an arbitrary header to the email headers. This is in addition to \
290
290
any configured headers, and may be used multiple times. For example, \
291
- ` --add-header=\" Organization: git-foo\" ` .",
292
- // "The negated form ` --no-add-header` discards all (`To:`, `Cc:`, \
291
+ ' --add-header=\" Organization: git-foo\" ' .",
292
+ // "The negated form ' --no-add-header' discards all (`To:`, `Cc:`, \
293
293
// and custom) headers added so far from config or command line."
294
294
)
295
295
. value_name( "header" )
@@ -327,11 +327,11 @@ fn message_options() -> Vec<Arg> {
327
327
The optional <style> argument can be either `shallow` or `deep`. \
328
328
`shallow` threading makes every mail a reply to the head of the \
329
329
series, where the head is chosen from the cover letter, the \
330
- ` --in-reply-to` , and the first patch mail, in this order. `deep` \
330
+ ' --in-reply-to' , and the first patch mail, in this order. `deep` \
331
331
threading makes every mail a reply to the previous one.\n \
332
332
\n \
333
- The default is ` --no-thread` , unless the `format.thread` \
334
- configuration is set. If ` --thread` is specified without a style, it \
333
+ The default is ' --no-thread' , unless the `format.thread` \
334
+ configuration is set. If ' --thread' is specified without a style, it \
335
335
defaults to the style specified by `format.thread` if any, or else \
336
336
`shallow`.\n \
337
337
\n \
@@ -355,7 +355,7 @@ fn message_options() -> Vec<Arg> {
355
355
. long_help(
356
356
"Add a signature string to each email. The default signature is the \
357
357
git version number, or the `format.signature` configuration value, if \
358
- specified. The signature may be disabled with ` --no-signature` ",
358
+ specified. The signature may be disabled with ' --no-signature' ",
359
359
)
360
360
. num_args( 1 )
361
361
. value_name( "signature" )
@@ -367,7 +367,7 @@ fn message_options() -> Vec<Arg> {
367
367
Arg :: new( "signature-file" )
368
368
. long( "signature-file" )
369
369
. help( "Add a signature from a file" )
370
- . long_help( "Like ` --signature` except the signature is read from a file." )
370
+ . long_help( "Like ' --signature' except the signature is read from a file." )
371
371
. num_args( 1 )
372
372
. value_name( "file" )
373
373
. value_hint( clap:: ValueHint :: FilePath ) ,
@@ -425,7 +425,7 @@ fn message_options() -> Vec<Arg> {
425
425
. long( "creation-factor" )
426
426
. help( "Percentage by which creation is weighed" )
427
427
. long_help(
428
- "Used with ` --range-diff` , tweak the heuristic which matches up \
428
+ "Used with ' --range-diff' , tweak the heuristic which matches up \
429
429
commits between the previous and current series of patches by \
430
430
adjusting the creation/deletion cost fudge factor. See \
431
431
git-range-diff(1)) for details.",
0 commit comments