mirror of
https://github.com/chmln/sd
synced 2024-11-21 18:53:03 +00:00
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:
parent
eb51bdf11e
commit
42f7deae06
2 changed files with 2 additions and 2 deletions
2
gen/sd.1
2
gen/sd.1
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
|
|
Loading…
Reference in a new issue