Skip to content

Commit

Permalink
Update man page to use changed flag for string literals (chmln#279)
Browse files Browse the repository at this point in the history
* Update man page to use changed flag for string literals

* Update corresponding place in `cargo-xtask` task

---------

Co-authored-by: Cosmic Horror <[email protected]>
  • Loading branch information
philippgille and CosmicHorrorDev authored Nov 10, 2023
1 parent eb51bdf commit 42f7dea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gen/sd.1
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ The program panicked.
.SH EXAMPLES
.TP
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
lots of special chars
.TP
Expand Down
2 changes: 1 addition & 1 deletion xtask/src/gen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ fn gen_man(base_dir: &Path) {
// (description, command, result), result can be empty
(
"String-literal mode",
"echo 'lots((([]))) of special chars' | sd -s '((([])))'",
"echo 'lots((([]))) of special chars' | sd -F '((([])))'",
"lots of special chars",
),
(
Expand Down

0 comments on commit 42f7dea

Please sign in to comment.