Update man page to use changed flag for string literals (#279)

* Update man page to use changed flag for string literals

* Update corresponding place in `cargo-xtask` task

---------

Co-authored-by: Cosmic Horror <CosmicHorrorDev@pm.me>
This commit is contained in:
Philipp Gillé 2023-11-10 01:03:05 +01:00 committed by GitHub
parent eb51bdf11e
commit 42f7deae06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ The program panicked.
.SH EXAMPLES .SH EXAMPLES
.TP .TP
String\-literal mode String\-literal mode
\fB$ echo \*(Aqlots((([]))) of special chars\*(Aq | sd \-s \*(Aq((([])))\*(Aq\fR \fB$ echo \*(Aqlots((([]))) of special chars\*(Aq | sd \-F \*(Aq((([])))\*(Aq\fR
.br .br
lots of special chars lots of special chars
.TP .TP

View file

@ -59,7 +59,7 @@ fn gen_man(base_dir: &Path) {
// (description, command, result), result can be empty // (description, command, result), result can be empty
( (
"String-literal mode", "String-literal mode",
"echo 'lots((([]))) of special chars' | sd -s '((([])))'", "echo 'lots((([]))) of special chars' | sd -F '((([])))'",
"lots of special chars", "lots of special chars",
), ),
( (